⚡ optim: reduce duplicate CI runs on PR branches
This commit is contained in:
@@ -27,6 +27,12 @@ on:
|
||||
branches:
|
||||
- main
|
||||
types: [opened, synchronize, reopened, labeled]
|
||||
# Only run PR CI if the commit doesn't already have passing branch CI
|
||||
if: |
|
||||
github.event_name == 'pull_request' &&
|
||||
(github.event.action == 'opened' ||
|
||||
github.event.action == 'synchronize' ||
|
||||
github.event.action == 'reopened')
|
||||
paths-ignore:
|
||||
- 'README.md'
|
||||
- 'doc/**'
|
||||
|
||||
Reference in New Issue
Block a user