summaryrefslogtreecommitdiff
path: root/.github/workflows/new_contributor_pr.yml
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows/new_contributor_pr.yml')
-rw-r--r--.github/workflows/new_contributor_pr.yml4
1 files changed, 4 insertions, 0 deletions
diff --git a/.github/workflows/new_contributor_pr.yml b/.github/workflows/new_contributor_pr.yml
index 3e0119ebdc..3602abf109 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: