Skip to content

Commit

Permalink
Merge pull request #1525 from SachinSahu431/sachin/update-pr-labeler
Browse files Browse the repository at this point in the history
Fix: Auto label PRs #1518
  • Loading branch information
Arthur Silva Sens authored May 31, 2024
2 parents 105a3b7 + 3ac5b77 commit 4b158ab
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/pull-request-template.md
Original file line number Diff line number Diff line change
@@ -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

Expand Down
14 changes: 14 additions & 0 deletions .github/workflows/pr-auto-label.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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/[email protected]
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
Expand Down

0 comments on commit 4b158ab

Please sign in to comment.