mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
1ecc3ab014
This adds a label checker that checks if certain labels are set, not set or if some are set, enough reviews were provided.
16 lines
484 B
YAML
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)'
|