fix(ci): sync setup-go contract pin - #95
Conversation
There was a problem hiding this comment.
Pull request overview
This PR fixes a drift between the hardened workflow-contract expectations and the live GitHub Actions workflow by updating the pinned actions/setup-go commit SHA used in the contract test to match the already-reviewed v7 commit used in .github/workflows/wiki-docs-sync.yml.
Changes:
- Update the expected
actions/setup-goexact pin inwiki_docs_sync_test.gofrom the v6.5.0 commit to the v7.0.0 commit (b7ad1dad...). - Update the corresponding mutation test case to use
actions/setup-go@v7(mutable ref) as the invalid replacement, aligning with the new major version.
|
Post-merge metadata audit: the signed source commit contained no prohibited coauthor trailer, but the GitHub-generated squash message added one to published commit |
Summary
Update the hardened wiki-sync workflow-contract expectations to the reviewed
actions/setup-gov7 commit already used by the live workflow.This is a one-file prerequisite repair. It does not modify the workflow or include the pending wikidoc promotion.
Root cause
Dependabot PR #88 updated
actions/setup-gofrom v6.5.0 to v7.0.0 in the workflow, but the exact contract expectations retained the previous pinned commit and mutable-ref mutation. Untouchedmaintherefore failed two workflow-contract tests.Impact
The contract again validates the exact action pin used by the workflow, restoring the full Go test gate on
mainand unblocking the separate exact wikidoc promotion from #94.Verification
origin/maingo test ./internal/workflowcontract -count=1go test ./...go vet ./...GOFLAGS=-buildvcs=false go build ./...trunk check internal/workflowcontract/wiki_docs_sync_test.gonextversionCloses #91.
Prerequisite for the exact
mainpromotion of #94.