ci: update conditions at which CI runs (#2761)
* ci(conventional-labels.yml): update pull_request_target event types to remove unnecessary spaces and adjust pull_request_review event types to only trigger on submitted actions * feat: add condition to run path-filter job only if PR is approved, manual run, or not a draft PR
This commit is contained in:
parent
50a64b0e0e
commit
c15e8ace8a
2 changed files with 9 additions and 5 deletions
4
.github/workflows/conventional-labels.yml
vendored
4
.github/workflows/conventional-labels.yml
vendored
|
|
@ -3,7 +3,9 @@
|
|||
name: Label PRs with Conventional Commits
|
||||
on:
|
||||
pull_request_target:
|
||||
types: [ opened, edited , reopened, auto_merge_enabled]
|
||||
types: [opened, edited]
|
||||
pull_request_review:
|
||||
types: [submitted]
|
||||
|
||||
jobs:
|
||||
validate-pr:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue