[6.0.x] Configured dangerous-triggers zizmor rule.

Backport of 846613e521 from main.
This commit is contained in:
Jacob Walls
2025-11-14 14:06:21 -05:00
parent 3a493d4545
commit a9367c262f
3 changed files with 10 additions and 0 deletions

View File

@@ -3,6 +3,8 @@ name: Labels
on:
pull_request_target:
types: [ edited, opened, reopened, ready_for_review ]
branches:
- main
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}

View File

@@ -3,12 +3,16 @@ name: New contributor message
on:
pull_request_target:
types: [opened]
branches:
- main
permissions:
pull-requests: write
jobs:
build:
# Only trigger on the main Django repository
if: github.repository == 'django/django'
name: Hello new contributor
runs-on: ubuntu-latest
steps:

View File

@@ -1,4 +1,8 @@
rules:
dangerous-triggers:
ignore:
- labels.yml
- new_contributor_pr.yml
unpinned-uses:
config:
policies: