mirror of
https://github.com/django/django.git
synced 2026-02-09 02:49:25 +08:00
[6.0.x] Addressed unpinned-uses zizmor finding.
Backport of 86b8058b40 from main.
This commit is contained in:
3
.github/workflows/benchmark.yml
vendored
3
.github/workflows/benchmark.yml
vendored
@@ -19,7 +19,8 @@ jobs:
|
||||
path: "."
|
||||
persist-credentials: false
|
||||
- name: Setup Miniforge
|
||||
uses: conda-incubator/setup-miniconda@v3
|
||||
# Pinned to v3.2.0.
|
||||
uses: conda-incubator/setup-miniconda@835234971496cad1653abb28a638a281cf32541f
|
||||
with:
|
||||
miniforge-version: "24.1.2-0"
|
||||
activate-environment: asv-bench
|
||||
|
||||
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