From d912b25bc2d1243a925d1e65e8d2a043f208028a Mon Sep 17 00:00:00 2001 From: Kaspar Schleiser Date: Mon, 16 Jan 2023 12:46:37 +0100 Subject: [PATCH] CI: update check-labels-action, using missing_approvals_label --- .github/workflows/check-labels.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/check-labels.yml b/.github/workflows/check-labels.yml index 027e7e3e80..dffe1066bb 100644 --- a/.github/workflows/check-labels.yml +++ b/.github/workflows/check-labels.yml @@ -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'