Skip to content

Commit 01d5c46

Browse files
authored
chore: [SEC-7924] pin third-party GitHub Actions to commit SHAs (#668)
[SEC-7924] chore: pin third-party GitHub Actions to commit SHAs Pin all third-party GitHub Actions to full-length commit SHAs to prevent supply chain attacks. Addresses findings from the third-party-action-not-pinned-to-commit-sha Semgrep rule.
1 parent 2f0042f commit 01d5c46

4 files changed

Lines changed: 5 additions & 5 deletions

File tree

.github/actions/publish/action.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,9 @@ runs:
3232
using: composite
3333
steps:
3434
- name: Set up QEMU
35-
uses: docker/setup-qemu-action@v3
35+
uses: docker/setup-qemu-action@c7c53464625b32c7a7e944ae62b3e17d2b600130 # v3
3636
- name: Setup Docker Buildx
37-
uses: docker/setup-buildx-action@v3
37+
uses: docker/setup-buildx-action@8d2750c68a42422c14e847fe6c8ac0403b4cbd6f # v3
3838
with:
3939
platforms: linux/amd64,linux/arm64/v8,linux/arm/v7,linux/386
4040
- name: Set up goreleaser

.github/workflows/check-openapi-updates.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
steps:
2121
- uses: actions/checkout@v4
2222
- name: Send Slack notification
23-
uses: rtCamp/action-slack-notify@v2
23+
uses: rtCamp/action-slack-notify@e31e87e03dd19038e411e38ae27cbad084a90661 # v2
2424
env:
2525
SLACK_CHANNEL: proj-cli
2626
SLACK_COLOR: ${{ job.status }}

.github/workflows/go.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,6 @@ jobs:
2424
run: go build .
2525

2626
- uses: actions/setup-python@v3
27-
- uses: pre-commit/action@v3.0.1
27+
- uses: pre-commit/action@2c7b3805fd2a0fd8c1884dcaebf91fc102a13ecd # v3.0.1
2828
- name: test
2929
run: go test ./...

.github/workflows/release-please.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
release_created: ${{ steps.release.outputs.release_created }}
1515
tag_name: ${{ steps.release.outputs.tag_name }}
1616
steps:
17-
- uses: google-github-actions/release-please-action@v4
17+
- uses: google-github-actions/release-please-action@e4dc86ba9405554aeba3c6bb2d169500e7d3b4ee # v4
1818
id: release
1919
with:
2020
token: ${{secrets.GITHUB_TOKEN}}

0 commit comments

Comments
 (0)