Skip to content

Commit 6561eae

Browse files
committed
[build] this does need pull_request_target with PAT with no checkout
1 parent 1b923b4 commit 6561eae

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

.github/workflows/pr-labeler.yml

+1-3
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
name: Label pull requests based on file paths
33

44
on:
5-
pull_request:
5+
pull_request_target:
66
types: [opened]
77

88
permissions:
@@ -13,8 +13,6 @@ jobs:
1313
label:
1414
runs-on: ubuntu-latest
1515
steps:
16-
- name: Checkout repository
17-
uses: actions/checkout@v4
1816
- name: Auto label Pull Requests
1917
uses: actions/labeler@v5
2018
with:

0 commit comments

Comments
 (0)