Skip to content

Commit cbe89b8

Browse files
committed
Update labeler config for major version increment
1 parent 2be9f36 commit cbe89b8

File tree

2 files changed

+10
-6
lines changed

2 files changed

+10
-6
lines changed

.github/labeler.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
- needs release notes:
2-
- all:
3-
- changed-files:
4-
- any-glob-to-any-file: 'changes/*.rst'
1+
needs release notes:
2+
- changed-files:
3+
- any-glob-to-any-file: 'changes/*.rst'
Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name: "Pull Request Labeler"
22

33
on:
4-
- pull_request_target
4+
pull_request
55

66
jobs:
77
labeler:
@@ -11,7 +11,12 @@ jobs:
1111
pull-requests: write
1212
runs-on: ubuntu-latest
1313
steps:
14-
- uses: actions/labeler@8558fd74291d67161a8a78ce36a881fa63b766a9 # v5.0.0
14+
- uses: actions/checkout@v4
15+
with:
16+
ref: ${{ github.event.pull_request.head.sha }}
17+
18+
- name: Run Pull Request Labeler
19+
uses: actions/[email protected]
1520
with:
1621
repo-token: ${{ secrets.GITHUB_TOKEN }}
1722
sync-labels: true

0 commit comments

Comments
 (0)