We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2be9f36 commit cbe89b8Copy full SHA for cbe89b8
.github/labeler.yml
@@ -1,4 +1,3 @@
1
-- needs release notes:
2
- - all:
3
- - changed-files:
4
- - any-glob-to-any-file: 'changes/*.rst'
+needs release notes:
+- changed-files:
+ - any-glob-to-any-file: 'changes/*.rst'
.github/workflows/needs_release_notes.yml
@@ -1,7 +1,7 @@
name: "Pull Request Labeler"
on:
- - pull_request_target
+ pull_request
5
6
jobs:
7
labeler:
@@ -11,7 +11,12 @@ jobs:
11
pull-requests: write
12
runs-on: ubuntu-latest
13
steps:
14
- - uses: actions/labeler@8558fd74291d67161a8a78ce36a881fa63b766a9 # v5.0.0
+ - 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]
20
with:
21
repo-token: ${{ secrets.GITHUB_TOKEN }}
22
sync-labels: true
0 commit comments