Limit CI test run to main and manual triggers
Pushes to main (direct commits and merged PRs) and manual workflow_dispatch now trigger the test job; feature-branch pushes and PR open/sync no longer do.
This commit is contained in:
@@ -2,11 +2,9 @@ name: Template tests
|
|||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
pull_request:
|
branches:
|
||||||
types:
|
- main
|
||||||
- opened
|
workflow_dispatch:
|
||||||
- synchronize
|
|
||||||
- reopened
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
tests:
|
tests:
|
||||||
|
|||||||
Reference in New Issue
Block a user