Skip to content

Commit def3f48

Browse files
authored
Pin GitHub Actions to commit hashes (#17)
* Pin GitHub Actions to commit hashes Signed-off-by: zeroalphat <taichi-takemura@cybozu.co.jp> --------- Signed-off-by: zeroalphat <taichi-takemura@cybozu.co.jp>
1 parent 62295fa commit def3f48

2 files changed

Lines changed: 8 additions & 8 deletions

File tree

.github/workflows/ci.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ jobs:
99
name: Unit tests
1010
runs-on: ubuntu-24.04
1111
steps:
12-
- uses: actions/checkout@v6
13-
- uses: actions/setup-go@v6
12+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
13+
- uses: actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # v6.4.0
1414
with:
1515
go-version-file: go.mod
1616
- run: make test
@@ -19,8 +19,8 @@ jobs:
1919
name: End-to-End Tests
2020
runs-on: ubuntu-24.04
2121
steps:
22-
- uses: actions/checkout@v6
23-
- uses: actions/setup-go@v6
22+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
23+
- uses: actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # v6.4.0
2424
with:
2525
go-version-file: go.mod
2626
- run: make setup

.github/workflows/release.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,11 @@ jobs:
88
name: Push Container image
99
runs-on: ubuntu-24.04
1010
steps:
11-
- uses: actions/checkout@v6
12-
- uses: docker/setup-buildx-action@v3
11+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
12+
- uses: docker/setup-buildx-action@4d04d5d9486b7bd6fa91e7baf45bbb4f8b9deedd # v4.0.0
1313
- run: make docker-build
1414
- name: Login to ghcr.io
15-
uses: docker/login-action@v3
15+
uses: docker/login-action@4907a6ddec9925e35a0a9e82d7399ccc52663121 # v4.1.0
1616
with:
1717
registry: ghcr.io
1818
username: ${{ github.repository_owner }}
@@ -27,7 +27,7 @@ jobs:
2727
needs: image
2828
runs-on: ubuntu-24.04
2929
steps:
30-
- uses: actions/checkout@v6
30+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
3131
- name: Create release
3232
env:
3333
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)