Skip to content

Commit 6a80390

Browse files
[4.2.x] Addressed unpinned-uses zizmor finding.
Backport of 86b8058 from main.
1 parent 2baa870 commit 6a80390

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

.github/workflows/check_commit_messages.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@ concurrency:
88
group: ${{ github.workflow }}-${{ github.ref }}
99
cancel-in-progress: true
1010

11+
permissions:
12+
contents: read
13+
1114
jobs:
1215
check-commit-prefix:
1316
if: startsWith(github.event.pull_request.base.ref, 'stable/')

zizmor.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
rules:
2+
unpinned-uses:
3+
config:
4+
policies:
5+
actions/*: ref-pin
6+
psf/*: ref-pin

0 commit comments

Comments
 (0)