Skip to content

Commit 644fbd4

Browse files
authored
chore(ci): Allow labeler to correctly run on PRs from forks (#10062)
1 parent b45a1c4 commit 644fbd4

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/labeler.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name: "Pull Request Automatic Labeler"
22

33
on:
4-
pull_request:
4+
pull_request_target:
55
types: [opened, synchronize, reopened]
66

77
jobs:
@@ -11,7 +11,8 @@ jobs:
1111
contents: read
1212
pull-requests: write
1313
steps:
14-
- uses: actions/labeler@v6
14+
- name: Run Labeler
15+
uses: actions/labeler@v6
1516
with:
1617
repo-token: "${{ secrets.GITHUB_TOKEN }}"
1718
configuration-path: .github/labeler.yml

0 commit comments

Comments
 (0)