name: check-labels on: pull_request_target: types: [opened, reopened, labeled, unlabeled, synchronize] pull_request_review: types: [submitted, dismissed] merge_group: jobs: check-labels: if: github.event_name != 'merge_group' runs-on: ubuntu-latest steps: - uses: RIOT-OS/check-labels-action@v1.1.2 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' pull_request: ${{ github.event.pull_request.number }}