mirror of
https://github.com/django/django.git
synced 2026-02-09 02:49:25 +08:00
[4.2.x] Addressed unpinned-uses zizmor finding.
Backport of 86b8058b40 from main.
This commit is contained in:
3
.github/workflows/check_commit_messages.yml
vendored
3
.github/workflows/check_commit_messages.yml
vendored
@@ -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
6
zizmor.yml
Normal file
@@ -0,0 +1,6 @@
|
||||
rules:
|
||||
unpinned-uses:
|
||||
config:
|
||||
policies:
|
||||
actions/*: ref-pin
|
||||
psf/*: ref-pin
|
||||
Reference in New Issue
Block a user