Skip to content

Commit

Permalink
👷 Add GitHub Action label-checker (#1299)
Browse files Browse the repository at this point in the history
  • Loading branch information
tiangolo authored Aug 13, 2024
1 parent 7351d21 commit 10c6cc7
Showing 1 changed file with 17 additions and 1 deletion.
18 changes: 17 additions & 1 deletion .github/workflows/labeler.yml
Original file line number Diff line number Diff line change
@@ -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:
Expand All @@ -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 }}

0 comments on commit 10c6cc7

Please sign in to comment.