Skip to content

Commit

Permalink
⬆️ Update klaasnicolaas/action-pr-labels action to v2 (#157)
Browse files Browse the repository at this point in the history
* ⬆️ Update klaasnicolaas/action-pr-labels action to v2

* Update PR labels workflow and remove optional parameters

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Klaas Schoute <[email protected]>
  • Loading branch information
renovate[bot] and klaasnicolaas authored Jun 29, 2024
1 parent de89dd8 commit 6a1bf37
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/pr-labels.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: PR Labels

# yamllint disable-line rule:truthy
on:
pull_request:
pull_request_target:
types:
- opened
- labeled
Expand All @@ -17,10 +17,8 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: 🏷 Verify PR has a valid label
uses: klaasnicolaas/action-pr-labels@v1.0.0
uses: klaasnicolaas/action-pr-labels@v2.0.0
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
pr-number: ${{ github.event.pull_request.number }}
valid-labels: >-
breaking-change, bugfix, documentation, enhancement, sync,
refactor, performance, new-feature, maintenance, ci, dependencies
2 changes: 1 addition & 1 deletion template/.github/workflows/pr-labels.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: 🏷 Verify PR has a valid label
uses: klaasnicolaas/action-pr-labels@v1.0.0
uses: klaasnicolaas/action-pr-labels@v2.0.0
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
pr-number: ${{ github.event.pull_request.number }}
Expand Down

0 comments on commit 6a1bf37

Please sign in to comment.