[4.2.x] Addressed unpinned-uses zizmor finding.

Backport of 86b8058b40 from main.
This commit is contained in:
Jacob Walls
2025-11-14 13:58:40 -05:00
parent 2baa8708b4
commit 6a80390740
2 changed files with 9 additions and 0 deletions

View File

@@ -8,6 +8,9 @@ concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
permissions:
contents: read
jobs:
check-commit-prefix:
if: startsWith(github.event.pull_request.base.ref, 'stable/')

6
zizmor.yml Normal file
View File

@@ -0,0 +1,6 @@
rules:
unpinned-uses:
config:
policies:
actions/*: ref-pin
psf/*: ref-pin