mirror of
https://github.com/django/django.git
synced 2026-02-09 02:49:25 +08:00
[4.2.x] Configured dangerous-triggers zizmor rule.
Backport of 846613e521 from main.
This commit is contained in:
4
.github/workflows/new_contributor_pr.yml
vendored
4
.github/workflows/new_contributor_pr.yml
vendored
@@ -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:
|
||||
|
||||
@@ -1,4 +1,7 @@
|
||||
rules:
|
||||
dangerous-triggers:
|
||||
ignore:
|
||||
- new_contributor_pr.yml
|
||||
unpinned-uses:
|
||||
config:
|
||||
policies:
|
||||
|
||||
Reference in New Issue
Block a user