Skip to content

Commit 51f250b

Browse files
Jonathan D.A. Jewellclaude
andcommitted
fix: add permissions and SHA-pin actions in mirror.yml
- Add permissions: read-all for Token-Permissions check - Pin actions/checkout to SHA for Pinned-Dependencies check 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1 parent b60ec08 commit 51f250b

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

.github/workflows/mirror.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,16 @@ on:
77
- 'v*'
88
workflow_dispatch:
99

10+
permissions: read-all
11+
1012
jobs:
1113
mirror-gitlab:
1214
runs-on: ubuntu-latest
1315
if: ${{ vars.GITLAB_MIRROR_ENABLED == 'true' }}
1416

1517
steps:
1618
- name: Checkout
17-
uses: actions/checkout@v4
19+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
1820
with:
1921
fetch-depth: 0
2022

@@ -33,7 +35,7 @@ jobs:
3335

3436
steps:
3537
- name: Checkout
36-
uses: actions/checkout@v4
38+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
3739
with:
3840
fetch-depth: 0
3941

0 commit comments

Comments
 (0)