We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 97f6f1b commit f15bba4Copy full SHA for f15bba4
.github/workflows/auto-label.yml
@@ -3,7 +3,9 @@ name: Auto-label issues and PRs
3
on:
4
issues:
5
types: [opened]
6
- pull_request:
+ # We do pull_request_target instead of pull_request to support PR's from forks.
7
+ # This is safe here because we're not checking out or executing any code from the fork; we're just adding labels.
8
+ pull_request_target:
9
10
11
jobs:
@@ -30,4 +32,4 @@ jobs:
30
32
owner: context.repo.owner,
31
33
repo: context.repo.repo,
34
labels: ['team/fs-wg', 'team/filecoin-pin']
- })
35
+ })
0 commit comments