1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/.github/workflows/check-labels.yml
Martine S. Lenders 1ecc3ab014
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.
2020-08-25 21:04:50 +02:00

16 lines
484 B
YAML

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)'