Skip to content

Commit fd74a6f

Browse files
pin and upgrade actions/checkout (#428)
Signed-off-by: Will Murphy <will.murphy@anchore.com>
1 parent c9fb15d commit fd74a6f

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

.github/workflows/test.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
build: # make sure build/ci work properly and there is no faked build ncc built scripts
1818
runs-on: ubuntu-latest
1919
steps:
20-
- uses: actions/checkout@v3
20+
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
2121
- run: npm ci
2222
- run: npm run package
2323
- run: git status --porcelain
@@ -30,7 +30,7 @@ jobs:
3030
os: [ubuntu-latest, windows-latest]
3131
runs-on: ${{ matrix.os }}
3232
steps:
33-
- uses: actions/checkout@v3
33+
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
3434
with:
3535
path: ./
3636

@@ -60,7 +60,7 @@ jobs:
6060
ports:
6161
- 5000:5000
6262
steps:
63-
- uses: actions/checkout@v3
63+
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
6464
- name: Build images
6565
run: |
6666
for distro in alpine centos debian; do
@@ -73,7 +73,7 @@ jobs:
7373
test-as-action: # make sure the action works on a clean machine without building
7474
runs-on: ubuntu-latest
7575
steps:
76-
- uses: actions/checkout@v3
76+
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
7777
with:
7878
path: ./
7979

.github/workflows/update-snapshots.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ jobs:
4040
comment-id: ${{ github.event.comment.id }}
4141
reactions: eyes
4242
- name: Checkout
43-
uses: actions/checkout@v3
43+
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
4444
with:
4545
token: ${{ steps.generate-token.outputs.token }}
4646
repository: ${{ fromJSON(steps.get-pr.outputs.result).head.repo.full_name }}

.github/workflows/update-syft-release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
runs-on: ubuntu-latest
1313
if: github.repository == 'anchore/sbom-action'
1414
steps:
15-
- uses: actions/checkout@v3
15+
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
1616
- name: Get latest Syft version
1717
id: latest-version
1818
env:

0 commit comments

Comments
 (0)