WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

Commit 401f192

Browse files
authored
Pin GitHub Action versions using commit SHAs (#9)
The tags can be changed by bad actors causing supply chain security issues such as CVE-2025-30066. GitHub is still working on immutable actions (github/roadmap#592) which is a solution to this problem.
1 parent 18f5bff commit 401f192

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/proxy.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
runs-on: ubuntu-latest
2828

2929
steps:
30-
- uses: styfle/[email protected]
30+
- uses: styfle/cancel-workflow-action@3d86a7cc43670094ac248017207be0295edbc31d # 0.8.0
3131
with:
3232
access_token: ${{ github.token }}
3333

@@ -41,16 +41,16 @@ jobs:
4141
env:
4242
TAG: ${{ github.event.release.tag_name }}
4343

44-
- uses: actions/checkout@v2
44+
- uses: actions/checkout@ee0669bd1cc54295c223e0bb666b733df41de1c5 # v2
4545

4646
- name: set up QEMU
47-
uses: docker/setup-qemu-action@v1
47+
uses: docker/setup-qemu-action@27d0a4f181a40b142cce983c5393082c365d1480 # v1
4848
with:
4949
platforms: all
5050

5151
- name: install buildx
5252
id: buildx
53-
uses: docker/setup-buildx-action@v1
53+
uses: docker/setup-buildx-action@f211e3e9ded2d9377c8cadc4489a4e38014bc4c9 # v1
5454
with:
5555
version: latest
5656
install: true
@@ -59,7 +59,7 @@ jobs:
5959
run: echo ${{ steps.buildx.outputs.platforms }}
6060

6161
- name: Login to DockerHub
62-
uses: docker/login-action@v1
62+
uses: docker/login-action@dd4fa0671be5250ee6f50aedf4cb05514abda2c7 # v1
6363
with:
6464
username: ${{ secrets._TEMP_DOCKERHUB_USER }}
6565
password: ${{ secrets._TEMP_DOCKERHUB_PASSWORD }}

0 commit comments

Comments
 (0)