diff --git a/.github/pull-request-template.md b/.github/pull-request-template.md index d3ab271..fc5d26f 100644 --- a/.github/pull-request-template.md +++ b/.github/pull-request-template.md @@ -1,5 +1,5 @@ ### Describe your PR diff --git a/.github/workflows/pr-auto-label.yml b/.github/workflows/pr-auto-label.yml index 6d80b95..25e8804 100644 --- a/.github/workflows/pr-auto-label.yml +++ b/.github/workflows/pr-auto-label.yml @@ -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