Skip to content

Commit 4e49fb1

Browse files
fix(ci): prevent version-manifest job from being skipped on tag push (#10)
The version-manifest job was silently skipped on v1.6.0 due to GitHub Actions transitive needs-chain behavior: when auto-version is skipped (tag push), build-and-push uses always() to run anyway, but version-manifest inherited the skip from the ancestor chain. Adding always() with an explicit success check ensures the job runs whenever build-and-push succeeds on a tag push. Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 9e2ed7c commit 4e49fb1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ jobs:
120120
# Generate and attach tool version manifest to GitHub release
121121
version-manifest:
122122
needs: [build-and-push]
123-
if: startsWith(github.ref, 'refs/tags/v')
123+
if: always() && needs.build-and-push.result == 'success' && startsWith(github.ref, 'refs/tags/v')
124124
runs-on: ubuntu-latest
125125
permissions:
126126
contents: write

0 commit comments

Comments
 (0)