Remove redundant labels

Signed-off-by: Sachin Sahu <sachinksahu.431@gmail.com>
This commit is contained in:
Sachin Sahu 2024-05-31 19:07:10 +05:30
parent 105a3b72ab
commit 3ac5b77351
2 changed files with 15 additions and 1 deletions

View File

@ -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

View File

@ -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