We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents ac7c493 + 7145962 commit 5ee89c7Copy full SHA for 5ee89c7
1 file changed
.github/workflows/sync-pr-labels.yml
@@ -1,8 +1,9 @@
1
name: Sync PR Labels
2
3
+# Use pull_request_target only: fork PRs get a read-only GITHUB_TOKEN on
4
+# pull_request, so issues.addLabels returns 403. This job only calls the API
5
+# (no checkout of PR code), which is the safe pattern for pull_request_target.
6
on:
- pull_request:
- types: [opened, reopened, synchronize, edited]
7
pull_request_target:
8
types: [opened, reopened, synchronize, edited]
9
0 commit comments