Skip to content

Commit 1dfc196

Browse files
jespinoona-agent
andcommitted
chore: pin GitHub Actions to SHA for supply chain security
Pin all external GitHub Actions to specific commit SHAs. Changes: - actions/checkout@v4 → pinned to SHA - actions/setup-go@v5 → pinned to SHA Co-authored-by: Ona <no-reply@ona.com>
1 parent 1e67eff commit 1dfc196

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/ci.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,10 @@ jobs:
2020
if: github.event_name == 'push' || github.event.pull_request.head.repo.fork
2121

2222
steps:
23-
- uses: actions/checkout@v4
23+
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
2424

2525
- name: Setup go
26-
uses: actions/setup-go@v5
26+
uses: actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5 # v5
2727
with:
2828
go-version-file: ./go.mod
2929

@@ -35,10 +35,10 @@ jobs:
3535
runs-on: ${{ github.repository == 'stainless-sdks/gitpod-go' && 'depot-ubuntu-24.04' || 'ubuntu-latest' }}
3636
if: github.event_name == 'push' || github.event.pull_request.head.repo.fork
3737
steps:
38-
- uses: actions/checkout@v4
38+
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
3939

4040
- name: Setup go
41-
uses: actions/setup-go@v5
41+
uses: actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5 # v5
4242
with:
4343
go-version-file: ./go.mod
4444

0 commit comments

Comments
 (0)