Merge pull request #14850 from miri64/gh-actions/feat/check-labels
gh-actions: initial import of a label-checker workflow
This commit is contained in:
commit
1dd5dc4b47
15
.github/workflows/check-labels.yml
vendored
Normal file
15
.github/workflows/check-labels.yml
vendored
Normal file
@ -0,0 +1,15 @@
|
||||
name: check-labels
|
||||
on:
|
||||
pull_request:
|
||||
types: [opened, reopened, labeled, unlabeled]
|
||||
pull_request_review:
|
||||
types: [submitted, dismissed]
|
||||
jobs:
|
||||
check-labels:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: RIOT-OS/check-labels-action@v1.0.0
|
||||
with:
|
||||
access_token: ${{ secrets.GITHUB_TOKEN }}
|
||||
unset_labels: 'CI: needs squashing,State: waiting for other PR'
|
||||
cond_labels: '(Process: needs >1 ACK,review.approvals>1),(Area: RDM,review.approvals>2)'
|
||||
Loading…
x
Reference in New Issue
Block a user