Преглед изворни кода

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.
Sarah Boyce пре 2 месеци
родитељ
комит
1b6ec1f944
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      .github/workflows/labels.yml

+ 1 - 1
.github/workflows/labels.yml

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