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:
|
||||
push:
|
||||
pull_request:
|
||||
types:
|
||||
- opened
|
||||
- synchronize
|
||||
- reopened
|
||||
branches:
|
||||
- main
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
tests:
|
||||
|
||||
Reference in New Issue
Block a user