ci: labeler exclude dependabot and api-docs-commits (#3454)

This commit is contained in:
Jonathan Ho
2024-02-25 17:23:00 +08:00
committed by GitHub
parent 43d52a6c43
commit 27bf2cfbc4

View File

@@ -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"