File tree Expand file tree Collapse file tree 2 files changed +15
-8
lines changed Expand file tree Collapse file tree 2 files changed +15
-8
lines changed Original file line number Diff line number Diff line change 1- # Configuration for Label Commenter - https://github.com/peaceiris/actions- label-commenter
1+ # Configuration for Label Commenter - ./.github/ label-commenter-config.yml
22name : Label Commenter
33
44on :
55 issues :
66 types : [ labeled ]
7- pull_request_target :
7+ pull_request :
88 types : [labeled]
99
1010permissions :
1616 if : github.repository_owner == 'seleniumhq'
1717 runs-on : ubuntu-latest
1818 steps :
19- - uses : actions/checkout@v4
19+ - name : Checkout repo to get config file
20+ uses : actions/checkout@v4
2021 - name : Label Commenter
2122 uses : peaceiris/actions-label-commenter@v1
23+ with :
24+ # The individual PAT is needed so commenter can auto-executes on PRs from Forks
25+ # It expires 4/1/2026
26+ github_token : ${{ secrets.LABEL_COMMENTER_PAT }}
Original file line number Diff line number Diff line change 1+ # Configuration for Label Generation - ./.github/pr-labeler-config.yml
12name : Label pull requests based on file paths
23
34on :
4- pull_request :
5+ pull_request_target :
56 types : [opened]
67
78permissions :
1213 label :
1314 runs-on : ubuntu-latest
1415 steps :
15- - name : Checkout repository
16- uses : actions/checkout@v4
17- - uses : actions/labeler@v5
16+ - name : Auto label Pull Requests
17+ uses : actions/labeler@v5
1818 with :
19- repo-token : ${{ secrets.GITHUB_TOKEN }}
19+ # The individual PAT is needed so labeler auto-executes this workflow
20+ # It expires 4/1/2026
21+ repo-token : ${{ secrets.PR_LABELER_PAT }}
2022 configuration-path : .github/pr-labeler-config.yml
You can’t perform that action at this time.
0 commit comments