Skip to content

Commit

Permalink
Add workflow to check pull request labels (#3176)
Browse files Browse the repository at this point in the history
* Add workflow to check pull request labels

* Fix YAML
  • Loading branch information
ludeeus committed Jun 30, 2023
1 parent a5164a6 commit 34f680f
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/pull_requests_labels.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: "Check Pull Request labels"

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

permissions: {}

jobs:
check_labels:
name: "Check Pull Request labels"
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3

- name: Check the labels
uses: ludeeus/action-require-labels@1.0.0
with:
labels: >-
Breaking Change, Experimental, pr: new-feature,
pr: enhancement, pr: refactor, pr: bugfix,
pr: dependency-update

0 comments on commit 34f680f

Please sign in to comment.