Repository navigation
Commit 5878e46
authored
chore: add t-tooling label to new PRs as well (#1116)
Extends the new-issue labeling workflow to also run on PR open, adding
the `t-tooling` label. Replicates apify/crawlee#4222.
- Uses `pull_request_target` so the token can write labels on PRs from
forks (nothing is checked out, so this is safe).
- Adds `pull-requests: write` permission. `context.issue.number` already
resolves to the PR number for PR events.
[🤖] Claude Code using Opus 5.51 parent 6ab27de commit 5878e46
1 file changed
Lines changed: 7 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
8 | 12 | | |
9 | 13 | | |
10 | 14 | | |
| |||
15 | 19 | | |
16 | 20 | | |
17 | 21 | | |
| 22 | + | |
18 | 23 | | |
19 | 24 | | |
20 | | - | |
| 25 | + | |
21 | 26 | | |
22 | 27 | | |
23 | 28 | | |
| |||
0 commit comments