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.
|
<!-- 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
|
### Describe your PR
|
||||||
|
|
||||||
|
|
|
@ -12,8 +12,22 @@ permissions:
|
||||||
checks: write # to generate status
|
checks: write # to generate status
|
||||||
|
|
||||||
jobs:
|
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:
|
pr-labeler:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
needs: remove-old-labels
|
||||||
steps:
|
steps:
|
||||||
- name: Check Labels
|
- name: Check Labels
|
||||||
id: labeler
|
id: labeler
|
||||||
|
|
Loading…
Reference in New Issue