Skip to content

Pin actions#8

Merged
irees merged 2 commits into
mainfrom
ghci-pin
Jun 9, 2026
Merged

Pin actions#8
irees merged 2 commits into
mainfrom
ghci-pin

Conversation

@irees

@irees irees commented Jun 9, 2026

Copy link
Copy Markdown
Contributor

Summary

Pins GitHub Actions to full commit SHAs to satisfy the org security requirement (failing builds previously used floating tags). Matches the convention already used in transitland-lib.

Changes

  • Pin actions/checkoutde0fac2e4500dabe0009e67214ff5f5447ce83dd (v6.0.2)
  • Pin actions/setup-go4a3601121dd01d1626a1e23e37211e3254c1c06c (v6.4.0)
  • Add top-level permissions: contents: read for a least-privilege GITHUB_TOKEN
  • Bump CI go-version 1.21.51.24.0 to match go.mod (CI was failing with requires go >= 1.24.0)

Verification

go test -count=1 ./... passes locally on Go 1.24.1.

Copilot AI review requested due to automatic review settings June 9, 2026 09:26

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR pins GitHub Actions used in the CI workflow to specific commit SHAs, improving supply-chain security and build reproducibility.

Changes:

  • Pin actions/checkout to a specific commit SHA.
  • Pin actions/setup-go to a specific commit SHA.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread .github/workflows/test.yaml Outdated
@irees irees merged commit 2ef9b81 into main Jun 9, 2026
4 checks passed
@irees irees deleted the ghci-pin branch June 9, 2026 10:02
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