Skip to content

Commit da4b67e

Browse files
fix: pin GitHub Actions to SHA for supply chain security
Co-authored-by: Cursor Agent <cursoragent@cursor.com>
1 parent 7e005cf commit da4b67e

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

.github/workflows/docker-hub.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@ jobs:
66
runs-on: ubuntu-latest
77
steps:
88
- name: Checkout code
9-
uses: actions/checkout@v2
9+
uses: actions/checkout@ee0669bd1cc54295c223e0bb666b733df41de1c5 # v2
1010

1111
- name: Build and push Docker images
12-
uses: docker/build-push-action@v1.1.0
12+
uses: docker/build-push-action@92e71463491f2d026a477188b8ad3a0fdd9d672c # v1.1.0
1313
with:
1414
username: ${{ secrets.DOCKER_HUB_USERNAME }}
1515
password: ${{ secrets.DOCKER_HUB_PASSWORD }}

.github/workflows/go.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,13 @@ jobs:
1010
goversion: ["1.25.7"]
1111
steps:
1212
- name: Set up Go ${{matrix.goversion}} on ${{matrix.os}}
13-
uses: actions/setup-go@v6
13+
uses: actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # v6
1414
with:
1515
go-version: ${{matrix.goversion}}
1616
id: go
1717

1818
- name: Check out code into the Go module directory
19-
uses: actions/checkout@v6
19+
uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6
2020

2121
- name: gofmt
2222
run: |

0 commit comments

Comments
 (0)