Skip to content

Commit aafb847

Browse files
authored
Merge branch 'trunk' into safari_cookie
2 parents f587dca + 6561eae commit aafb847

File tree

2 files changed

+15
-8
lines changed

2 files changed

+15
-8
lines changed

.github/workflows/label-commenter.yml

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
# Configuration for Label Commenter - https://github.com/peaceiris/actions-label-commenter
1+
# Configuration for Label Commenter - ./.github/label-commenter-config.yml
22
name: Label Commenter
33

44
on:
55
issues:
66
types: [ labeled ]
7-
pull_request_target:
7+
pull_request:
88
types: [labeled]
99

1010
permissions:
@@ -16,6 +16,11 @@ jobs:
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 }}

.github/workflows/pr-labeler.yml

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
1+
# Configuration for Label Generation - ./.github/pr-labeler-config.yml
12
name: Label pull requests based on file paths
23

34
on:
4-
pull_request:
5+
pull_request_target:
56
types: [opened]
67

78
permissions:
@@ -12,9 +13,10 @@ jobs:
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

0 commit comments

Comments
 (0)