Merge pull request #1525 from SachinSahu431/sachin/update-pr-labeler
Fix: Auto label PRs #1518
This commit is contained in:
commit
4b158abea9
|
@ -1,5 +1,5 @@
|
|||
<!-- Refer to CONTRIBUTING.md for more details and examples.
|
||||
https://github.com/prometheus/client_golang/blob/main/CONTRIBUTING.md#how-to-fill-the-pr-template
|
||||
https://github.com/prometheus/client_golang/blob/main/CONTRIBUTING.md#how-to-write-a-pr-description
|
||||
-->
|
||||
### Describe your PR
|
||||
|
||||
|
|
|
@ -12,8 +12,22 @@ permissions:
|
|||
checks: write # to generate status
|
||||
|
||||
jobs:
|
||||
remove-old-labels:
|
||||
name: Remove old PR labels
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: mondeja/remove-labels-gh-action@v2.0.0
|
||||
with:
|
||||
token: ${{ secrets.GITHUB_TOKEN }}
|
||||
labels: |
|
||||
kind/BUGFIX
|
||||
kind/ENHANCEMENT
|
||||
kind/FEATURE
|
||||
kind/CHANGE
|
||||
release-note-none
|
||||
pr-labeler:
|
||||
runs-on: ubuntu-latest
|
||||
needs: remove-old-labels
|
||||
steps:
|
||||
- name: Check Labels
|
||||
id: labeler
|
||||
|
|
Loading…
Reference in New Issue