ci: pin GitHub Actions to full commit SHAs (#1116)

Pin unpinned action references to immutable commit SHAs.
Version tags retained as inline comments.

See: https://docs.github.com/en/actions/security-guides/security-hardening-for-github-actions#using-third-party-actions

Co-authored-by: KiloClaw Security <security@kiloclaw.ai>
This commit is contained in:
XananasX 2026-07-05 19:51:45 +01:00 committed by GitHub
parent caf87e6e1b
commit 8b258c7bb2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -27,13 +27,13 @@ jobs:
steps:
- name: Install Go
uses: actions/setup-go@v5
uses: actions/setup-go@40f1582b2485089dde7abd97c1529aa768e1baff # v5
with:
go-version: ${{ matrix.go-version }}
check-latest: true
cache: false
- name: Checkout code
uses: actions/checkout@v4
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
with:
path: ${{ env.GOPATH }}/src/github.com/${{ github.repository }}
- name: Test