Merge pull request #1525 from SachinSahu431/sachin/update-pr-labeler

Fix: Auto label PRs #1518
This commit is contained in:
Arthur Silva Sens 2024-05-31 10:50:59 -03:00 committed by GitHub
commit 4b158abea9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 15 additions and 1 deletions

View File

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

View File

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