Skip to content

Commit

Permalink
Update labeler config for major version increment
Browse files Browse the repository at this point in the history
  • Loading branch information
moradology committed Jan 22, 2025
1 parent 2be9f36 commit cbe89b8
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 6 deletions.
7 changes: 3 additions & 4 deletions .github/labeler.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
- needs release notes:
- all:
- changed-files:
- any-glob-to-any-file: 'changes/*.rst'
needs release notes:
- changed-files:
- any-glob-to-any-file: 'changes/*.rst'
9 changes: 7 additions & 2 deletions .github/workflows/needs_release_notes.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: "Pull Request Labeler"

on:
- pull_request_target
pull_request

jobs:
labeler:
Expand All @@ -11,7 +11,12 @@ jobs:
pull-requests: write
runs-on: ubuntu-latest
steps:
- uses: actions/labeler@8558fd74291d67161a8a78ce36a881fa63b766a9 # v5.0.0
- uses: actions/checkout@v4
with:
ref: ${{ github.event.pull_request.head.sha }}

- name: Run Pull Request Labeler
uses: actions/labeler@v5.0.0
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
sync-labels: true

0 comments on commit cbe89b8

Please sign in to comment.