Skip to content

Commit

Permalink
Update PR Labels workflow to use klaasnicolaas/action-pr-labels (#155)
Browse files Browse the repository at this point in the history
  • Loading branch information
klaasnicolaas authored Jun 24, 2024
1 parent db7f45f commit de89dd8
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 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_target:
pull_request:
types:
- opened
- labeled
Expand All @@ -12,16 +12,15 @@ on:
workflow_call:

jobs:
pr_labels:
validate:
name: Verify
runs-on: ubuntu-latest
steps:
- name: 🏷 Verify PR has a valid label
uses: jesusvasquez333/verify-pr-label-action@v1.4.0
uses: klaasnicolaas/action-pr-labels@v1.0.0
with:
pull-request-number: "${{ github.event.pull_request.number }}"
github-token: "${{ secrets.GITHUB_TOKEN }}"
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
disable-reviews: true

0 comments on commit de89dd8

Please sign in to comment.