Skip to content

Commit 15c6e71

Browse files
committed
for #933, pin third-party GitHub CI actions at known good SHA sums
1 parent f768822 commit 15c6e71

4 files changed

Lines changed: 21 additions & 21 deletions

File tree

.github/workflows/docker-build-push-scan.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -40,14 +40,14 @@ jobs:
4040
steps:
4141
-
4242
name: Cancel previous run in progress
43-
uses: styfle/cancel-workflow-action@0.13.0
43+
uses: styfle/cancel-workflow-action@d07a454dad7609a92316b57b23c9ccfd4f59af66
4444
with:
4545
ignore_sha: true
4646
all_but_latest: true
4747
access_token: ${{ secrets.GITHUB_TOKEN }}
4848
-
4949
name: Checkout
50-
uses: actions/checkout@v4
50+
uses: actions/checkout@v6
5151
with:
5252
submodules: 'recursive'
5353
-
@@ -77,20 +77,20 @@ jobs:
7777
id: extract_malcolm_version
7878
-
7979
name: Set up Docker Buildx
80-
uses: docker/setup-buildx-action@v3
80+
uses: docker/setup-buildx-action@4d04d5d9486b7bd6fa91e7baf45bbb4f8b9deedd
8181
with:
8282
driver-opts: |
8383
image=moby/buildkit:master
8484
-
8585
name: Log in to registry
86-
uses: docker/login-action@v3
86+
uses: docker/login-action@b45d80f862d83dbcd57f89517bcf500b2ab88fb2
8787
with:
8888
registry: ghcr.io
8989
username: ${{ github.repository_owner }}
9090
password: ${{ secrets.GITHUB_TOKEN }}
9191
-
9292
name: Build and push
93-
uses: docker/build-push-action@v6
93+
uses: docker/build-push-action@d08e5c354a6adb9ed34480a06d141179aa583294
9494
with:
9595
context: .
9696
file: ${{ inputs.dockerfile }}
@@ -111,7 +111,7 @@ jobs:
111111
name: Run Trivy vulnerability scanner
112112
if: ${{ matrix.platform == 'linux/amd64' }}
113113
id: trivy-scan
114-
uses: aquasecurity/trivy-action@0.29.0
114+
uses: aquasecurity/trivy-action@57a97c7e7821a5776cebc9bb87c984fa69cba8f1
115115
env:
116116
TRIVY_DB_REPOSITORY: ghcr.io/aquasecurity/trivy-db,public.ecr.aws/aquasecurity/trivy-db
117117
with:

.github/workflows/hedgehog-raspi-build-docker-wrap-push-ghcr.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -35,14 +35,14 @@ jobs:
3535
steps:
3636
-
3737
name: Cancel previous run in progress
38-
uses: styfle/cancel-workflow-action@0.13.0
38+
uses: styfle/cancel-workflow-action@d07a454dad7609a92316b57b23c9ccfd4f59af66
3939
with:
4040
ignore_sha: true
4141
all_but_latest: true
4242
access_token: ${{ secrets.GITHUB_TOKEN }}
4343
-
4444
name: Set up Docker Buildx
45-
uses: docker/setup-buildx-action@v3
45+
uses: docker/setup-buildx-action@4d04d5d9486b7bd6fa91e7baf45bbb4f8b9deedd
4646
with:
4747
driver-opts: |
4848
image=moby/buildkit:master
@@ -88,7 +88,7 @@ jobs:
8888
zerofree
8989
-
9090
name: Checkout
91-
uses: actions/checkout@v4
91+
uses: actions/checkout@v6
9292
-
9393
name: Extract branch name
9494
shell: bash
@@ -126,14 +126,14 @@ jobs:
126126
popd
127127
-
128128
name: ghcr.io login
129-
uses: docker/login-action@v3
129+
uses: docker/login-action@b45d80f862d83dbcd57f89517bcf500b2ab88fb2
130130
with:
131131
registry: ghcr.io
132132
username: ${{ github.repository_owner }}
133133
password: ${{ secrets.GITHUB_TOKEN }}
134134
-
135135
name: Build and push IMG image
136-
uses: docker/build-push-action@v6
136+
uses: docker/build-push-action@d08e5c354a6adb9ed34480a06d141179aa583294
137137
with:
138138
context: ./hedgehog-raspi
139139
push: true

.github/workflows/iso-build-push.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -28,14 +28,14 @@ jobs:
2828
steps:
2929
-
3030
name: Cancel previous run in progress
31-
uses: styfle/cancel-workflow-action@0.13.0
31+
uses: styfle/cancel-workflow-action@d07a454dad7609a92316b57b23c9ccfd4f59af66
3232
with:
3333
ignore_sha: true
3434
all_but_latest: true
3535
access_token: ${{ secrets.GITHUB_TOKEN }}
3636
-
3737
name: Set up Docker Buildx
38-
uses: docker/setup-buildx-action@v3
38+
uses: docker/setup-buildx-action@4d04d5d9486b7bd6fa91e7baf45bbb4f8b9deedd
3939
with:
4040
driver-opts: |
4141
image=moby/buildkit:master
@@ -98,7 +98,7 @@ jobs:
9898
sudo rm -rf /tmp/live-build /tmp/live-build*.deb
9999
-
100100
name: Checkout
101-
uses: actions/checkout@v4
101+
uses: actions/checkout@v6
102102
-
103103
name: Extract branch name
104104
shell: bash
@@ -150,7 +150,7 @@ jobs:
150150
name: Run Trivy vulnerability scanner
151151
if: ${{ matrix.platform == 'linux/amd64' }}
152152
id: trivy-scan
153-
uses: aquasecurity/trivy-action@0.29.0
153+
uses: aquasecurity/trivy-action@57a97c7e7821a5776cebc9bb87c984fa69cba8f1
154154
env:
155155
TRIVY_DB_REPOSITORY: ghcr.io/aquasecurity/trivy-db,public.ecr.aws/aquasecurity/trivy-db
156156
with:
@@ -171,14 +171,14 @@ jobs:
171171
sarif_file: 'trivy-results.sarif'
172172
-
173173
name: ghcr.io login
174-
uses: docker/login-action@v3
174+
uses: docker/login-action@b45d80f862d83dbcd57f89517bcf500b2ab88fb2
175175
with:
176176
registry: ghcr.io
177177
username: ${{ github.repository_owner }}
178178
password: ${{ secrets.GITHUB_TOKEN }}
179179
-
180180
name: Build and push ISO image
181-
uses: docker/build-push-action@v6
181+
uses: docker/build-push-action@d08e5c354a6adb9ed34480a06d141179aa583294
182182
with:
183183
context: ./malcolm-iso
184184
build-args: |

.github/workflows/jekyll-gh-pages.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,9 @@ jobs:
3232
runs-on: ubuntu-latest
3333
steps:
3434
- name: Checkout
35-
uses: actions/checkout@v4
35+
uses: actions/checkout@v6
3636
- name: Setup Pages
37-
uses: actions/configure-pages@v5
37+
uses: actions/configure-pages@v6
3838
- name: Replace Umami secrets in _config.yml
3939
run: |
4040
sed -i -e "/^umami:/,+2d" ./_config.yml
@@ -47,7 +47,7 @@ jobs:
4747
source: ./
4848
destination: ./_site
4949
- name: Upload artifact
50-
uses: actions/upload-pages-artifact@v3
50+
uses: actions/upload-pages-artifact@v4
5151

5252
# Deployment job
5353
deploy:
@@ -59,4 +59,4 @@ jobs:
5959
steps:
6060
- name: Deploy to GitHub Pages
6161
id: deployment
62-
uses: actions/deploy-pages@v4
62+
uses: actions/deploy-pages@v5

0 commit comments

Comments
 (0)