diff options
| author | Jacob Walls <jacobtylerwalls@gmail.com> | 2025-11-14 14:06:21 -0500 |
|---|---|---|
| committer | Jacob Walls <jacobtylerwalls@gmail.com> | 2025-11-21 14:36:32 -0500 |
| commit | 846613e521104fa2f2e1c2023e4a1a9886a2ff48 (patch) | |
| tree | 9ed9020c2f8c8483100f096744e7a065a9d14fb5 /.github | |
| parent | 86b8058b40145fb5ba4fd859676225f533eca986 (diff) | |
Configured dangerous-triggers zizmor rule.
Diffstat (limited to '.github')
| -rw-r--r-- | .github/workflows/labels.yml | 2 | ||||
| -rw-r--r-- | .github/workflows/new_contributor_pr.yml | 4 |
2 files changed, 6 insertions, 0 deletions
diff --git a/.github/workflows/labels.yml b/.github/workflows/labels.yml index 6986eec033..79ee8af59d 100644 --- a/.github/workflows/labels.yml +++ b/.github/workflows/labels.yml @@ -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 }} diff --git a/.github/workflows/new_contributor_pr.yml b/.github/workflows/new_contributor_pr.yml index 958ebc64d4..194adb3bb8 100644 --- a/.github/workflows/new_contributor_pr.yml +++ b/.github/workflows/new_contributor_pr.yml @@ -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: |
