[5.2.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 6073e23556
commit 338912e84e
2 changed files with 7 additions and 0 deletions

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,7 @@
rules:
dangerous-triggers:
ignore:
- new_contributor_pr.yml
unpinned-uses:
config:
policies: