1
0
mirror of https://github.com/django/django.git synced 2025-04-14 12:24:36 +00:00

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.
This commit is contained in:
Sarah Boyce 2025-01-22 12:43:18 +01:00 committed by GitHub
parent 64b1ac7292
commit 1b6ec1f944
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1,7 +1,7 @@
name: Labels
on:
pull_request:
pull_request_target:
types: [ edited, opened, reopened, ready_for_review ]
concurrency: