Browse Source

👷 Add GitHub Action label-checker (#1299)

pull/13907/head
Sebastián Ramírez 12 months ago
committed by GitHub
parent
commit
10c6cc72eb
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 18
      .github/workflows/labeler.yml

18
.github/workflows/labeler.yml

@ -1,6 +1,13 @@
name: Pull Request Labeler
name: Pull Request Labeler and Checker
on:
pull_request_target:
types:
- opened
- synchronize
- reopened
# For label-checker
- labeled
- unlabeled
jobs:
labeler:
@ -10,3 +17,12 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/labeler@v5
# Run this after labeler applied labels
check-labels:
name: Check labels
runs-on: ubuntu-latest
steps:
- uses: docker://agilepathway/pull-request-label-checker:latest
with:
one_of: breaking,security,feature,bug,refactor,upgrade,docs,lang-all,internal
repo_token: ${{ secrets.GITHUB_TOKEN }}

Loading…
Cancel
Save