Skip to content

Commit 34528d1

Browse files
authored
ci: pin actions/checkout to its commit hash (#517)
1 parent f1a418b commit 34528d1

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

.github/workflows/deploy-pr.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232
repositories: '${{ env.FLUX_REPO }}'
3333

3434
- name: Checkout Flux repo
35-
uses: actions/checkout@v5
35+
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
3636
with:
3737
repository: '${{ env.FLUX_OWNER }}/${{ env.FLUX_REPO }}'
3838
token: '${{ steps.app-token.outputs.token }}'
@@ -120,7 +120,7 @@ jobs:
120120
repositories: '${{ env.FLUX_REPO }}'
121121

122122
- name: Checkout Flux repo
123-
uses: actions/checkout@v5
123+
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
124124
with:
125125
repository: '${{ env.FLUX_OWNER }}/${{ env.FLUX_REPO }}'
126126
token: '${{ steps.app-token.outputs.token }}'

.github/workflows/docker-build.ecr.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232

3333
steps:
3434
- name: Checkout
35-
uses: actions/checkout@v5
35+
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
3636
with:
3737
ref: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.sha || github.sha }}
3838

.github/workflows/release-please.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
release:
1313
runs-on: ubuntu-latest
1414
steps:
15-
- uses: actions/checkout@v5
15+
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
1616

1717
- name: Create GitHub App token
1818
uses: actions/create-github-app-token@v2

.github/workflows/scorecard.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
egress-policy: audit
2828

2929
- name: Checkout
30-
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8
30+
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
3131
with:
3232
persist-credentials: false
3333

0 commit comments

Comments
 (0)