Skip to content

chore: hotfix gradle/actions/wrapper-validation tag-object SHA pin#852

Merged
damencho merged 1 commit into
masterfrom
chore/hotfix-gradle-wrapper-validation-tag-object
Jun 2, 2026
Merged

chore: hotfix gradle/actions/wrapper-validation tag-object SHA pin#852
damencho merged 1 commit into
masterfrom
chore/hotfix-gradle-wrapper-validation-tag-object

Conversation

@sebastian8x8

Copy link
Copy Markdown
Contributor

Summary

Hotfix follow-up to merged #842. The SHA 48b5f213c81028ace310571dc5ec0fbbca0b2947 was supposed to be the commit SHA for gradle/actions@v4, but it is actually the annotated-tag-object SHA. GitHub Actions cannot resolve tag-object SHAs as uses: refs and fails at workflow load with "workflow not found" / "unable to find version" — the same incident class as unified-analytics-orion#801.

Replacing with the dereferenced commit SHA ed408507eac070d1f99cc633dbcf757c94c7933a (both occurrences in installers.yml).

Verification

$ gh api repos/gradle/actions/git/tags/48b5f213c81028ace310571dc5ec0fbbca0b2947 --jq '.object'
{"sha":"ed408507eac070d1f99cc633dbcf757c94c7933a","type":"commit"}

$ gh api repos/gradle/actions/commits/v4 --jq '.sha'
ed408507eac070d1f99cc633dbcf757c94c7933a

scripts/verify-gha-pins.sh .github/workflows exits 0 with the fix applied.

Test plan

  • CI passes on this branch (workflow loads without "workflow not found")
  • After merge, the next PR that triggers installers.yml runs wrapper-validation successfully

🤖 Generated with Claude Code

…commit SHA

The SHA `48b5f213c81028ace310571dc5ec0fbbca0b2947` from PR #842 is itself
an annotated-tag-object SHA for `gradle/actions@v4`, not a commit SHA.
GitHub Actions cannot resolve tag-object SHAs as `uses:` refs and fails
workflow load with "workflow not found" / "unable to find version".

Replacing with the dereferenced commit SHA
`ed408507eac070d1f99cc633dbcf757c94c7933a`.

Verified:

    gh api repos/gradle/actions/git/tags/48b5f213c81028ace310571dc5ec0fbbca0b2947       --jq '.object'
    # {"sha":"ed408507...","type":"commit"}

    gh api repos/gradle/actions/commits/v4 --jq '.sha'
    # ed408507...

Both occurrences in installers.yml (lines 246, 365) updated.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@damencho damencho merged commit 7bde4ff into master Jun 2, 2026
9 checks passed
@sebastian8x8 sebastian8x8 deleted the chore/hotfix-gradle-wrapper-validation-tag-object branch June 2, 2026 16:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants