fix(ci): resolve validate-version output in release-lfx changelog link (1.11.0) (#13612)

fix(ci): resolve validate-version output in release-lfx changelog link

The create-release job references
needs.validate-version.outputs.current_version in its generated release
notes (the Full Changelog compare link), but validate-version was not in
the job's needs array, so the expression evaluated empty and the link
rendered as compare/v...lfx-vX.Y.Z (broken base).

Add validate-version to the create-release needs. This adds no real
serialization: create-release already waits on release-lfx, which
transitively requires validate-version via run-tests, and the job's
always() if-condition is unaffected.

Flagged by actionlint: property "validate-version" is not defined in
object type {build-docker, release-lfx}.
This commit is contained in:
Eric Hare
2026-06-10 08:42:28 -07:00
committed by GitHub
parent dea7b09257
commit 29140c06f0

View File

@ -276,7 +276,7 @@ jobs:
create-release:
name: Create GitHub Release
needs: [release-lfx, build-docker]
needs: [validate-version, release-lfx, build-docker]
if: always() && github.event.inputs.create_github_release == 'true' && needs.release-lfx.result == 'success'
runs-on: ubuntu-latest
steps: