1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-01-17 05:32:45 +01:00

gh-actions: initial import of a label-checker workflow

This adds a label checker that checks if certain labels are set, not set
or if some are set, enough reviews were provided.
This commit is contained in:
Martine S. Lenders 2020-08-25 20:09:44 +02:00
parent 2eb6d752df
commit 1ecc3ab014
No known key found for this signature in database
GPG Key ID: CCD317364F63286F

15
.github/workflows/check-labels.yml vendored Normal file
View 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)'