Skip to content

Commit

Permalink
Add action to require PR labels
Browse files Browse the repository at this point in the history
  • Loading branch information
ludeeus committed Feb 11, 2024
1 parent 45e2854 commit 78eed61
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/labels.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: "Check Pull Request labels"

on:
pull_request:
branches:
- main
types:
- labeled
- opened
- synchronize
- unlabeled

permissions: {}

jobs:
check_labels:
name: "Check Pull Request labels"
runs-on: ubuntu-latest
steps:
- name: Check the labels
uses: ludeeus/action-require-labels@1.1.0
with:
labels: >-
bugfix, breaking-change, new-feature, dependencies, internal

0 comments on commit 78eed61

Please sign in to comment.