1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

CI: update check-labels-action, using missing_approvals_label

This commit is contained in:
Kaspar Schleiser 2023-01-16 12:46:37 +01:00
parent 9ff9704fe5
commit d912b25bc2

View File

@ -1,6 +1,6 @@
name: check-labels
on:
pull_request:
pull_request_target:
types: [opened, reopened, labeled, unlabeled, synchronize]
pull_request_review:
types: [submitted, dismissed]
@ -8,8 +8,9 @@ jobs:
check-labels:
runs-on: ubuntu-latest
steps:
- uses: RIOT-OS/check-labels-action@v1.0.0
- uses: RIOT-OS/check-labels-action@v1.1.0
with:
access_token: ${{ secrets.GITHUB_TOKEN }}
unset_labels: 'CI: needs squashing,State: waiting for CI update,State: waiting for other PR,Process: blocked by feature freeze'
cond_labels: '(Process: needs >1 ACK,review.approvals>1),(Area: RDM,review.approvals>2)'
missing_approvals_label: 'Process: missing approvals'