From 27bf2cfbc4fb78dab7e732811f1d0bf440fbd477 Mon Sep 17 00:00:00 2001 From: Jonathan Ho Date: Sun, 25 Feb 2024 17:23:00 +0800 Subject: [PATCH] ci: labeler exclude dependabot and api-docs-commits (#3454) --- .github/workflows/labeler.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/labeler.yml b/.github/workflows/labeler.yml index 8fe7a37c2..f7ae10c3b 100644 --- a/.github/workflows/labeler.yml +++ b/.github/workflows/labeler.yml @@ -18,7 +18,7 @@ jobs: w_unverified_labeler: name: Add w-unverified Label - if: ${{ !(github.event_name == 'pull_request_target' && (github.event.action == 'edited' || github.event.action == 'synchronize')) }} + if: ${{ !(github.event_name == 'pull_request_target' && (github.event.action == 'edited' || github.event.action == 'synchronize' )) && !(github.event_name == 'issues' && contains(github.event.issue.labels.*.name, 'api-docs-commits')) && github.actor != 'dependabot[bot]'}} runs-on: ubuntu-latest steps: - run: gh issue edit "$NUMBER" --add-label "$LABELS"