summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorSarah Boyce <42296566+sarahboyce@users.noreply.github.com>2025-01-22 12:43:18 +0100
committerGitHub <noreply@github.com>2025-01-22 08:43:18 -0300
commit1b6ec1f944844f868cfac82f7d6f38d57c898900 (patch)
tree4124d19b05b6bdf7e7fa3d47e05541d24bf4831b /.github
parent64b1ac7292c72d3551b2ad70b2a78c8fe4af3249 (diff)
Switched to pull_request_target event trigger in the Labels Github action.
The `pull_request` trigger runs in the context of the PR, and has limited access to information stored in the base repo django/django. As access is needed to the label "no ticket" in django/django, use the `pull_request_target` trigger.
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/labels.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/.github/workflows/labels.yml b/.github/workflows/labels.yml
index 77a8ca0a0a..637dd726a8 100644
--- a/.github/workflows/labels.yml
+++ b/.github/workflows/labels.yml
@@ -1,7 +1,7 @@
name: Labels
on:
- pull_request:
+ pull_request_target:
types: [ edited, opened, reopened, ready_for_review ]
concurrency: