File tree 2 files changed +11
-2
lines changed
2 files changed +11
-2
lines changed Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ name: Label Commenter
4
4
on :
5
5
issues :
6
6
types : [ labeled ]
7
- pull_request :
7
+ pull_request_target :
8
8
types : [labeled]
9
9
10
10
permissions :
@@ -16,11 +16,15 @@ jobs:
16
16
if : github.repository_owner == 'seleniumhq'
17
17
runs-on : ubuntu-latest
18
18
steps :
19
- - name : Checkout repo to get config file
19
+ - name : Checkout base repo to get config file
20
20
uses : actions/checkout@v4
21
+ with :
22
+ ref : ${{ github.event.pull_request.base.ref }}
23
+ repository : seleniumhq/selenium
21
24
- name : Label Commenter
22
25
uses : peaceiris/actions-label-commenter@v1
23
26
with :
24
27
# The individual PAT is needed so commenter can auto-executes on PRs from Forks
25
28
# It expires 4/1/2026
26
29
github_token : ${{ secrets.LABEL_COMMENTER_PAT }}
30
+ config_file : .github/label-commenter-config.yml
Original file line number Diff line number Diff line change 13
13
label :
14
14
runs-on : ubuntu-latest
15
15
steps :
16
+ - name : Checkout base repo to get config file
17
+ uses : actions/checkout@v4
18
+ with :
19
+ ref : ${{ github.event.pull_request.base.ref }}
20
+ repository : seleniumhq/selenium
16
21
- name : Auto label Pull Requests
17
22
uses : actions/labeler@v5
18
23
with :
You can’t perform that action at this time.
0 commit comments