2023-01-10 12:42:40 +01:00
|
|
|
name: check-labels
|
|
|
|
on:
|
2023-01-16 12:46:37 +01:00
|
|
|
pull_request_target:
|
2023-01-13 08:30:31 +01:00
|
|
|
types: [opened, reopened, labeled, unlabeled, synchronize]
|
2023-01-10 12:42:40 +01:00
|
|
|
pull_request_review:
|
|
|
|
types: [submitted, dismissed]
|
2023-11-08 11:31:07 +01:00
|
|
|
merge_group:
|
|
|
|
|
2023-01-10 12:42:40 +01:00
|
|
|
jobs:
|
|
|
|
check-labels:
|
2023-11-08 11:31:07 +01:00
|
|
|
if: github.event_name != 'merge_group'
|
2023-01-10 12:42:40 +01:00
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
2024-06-05 10:14:58 +02:00
|
|
|
- uses: RIOT-OS/check-labels-action@v1.1.2
|
2023-01-10 12:42:40 +01:00
|
|
|
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)'
|
2023-01-16 12:46:37 +01:00
|
|
|
missing_approvals_label: 'Process: missing approvals'
|
2023-01-17 10:33:18 +01:00
|
|
|
pull_request: ${{ github.event.pull_request.number }}
|