only run CI on main or v* branches + pull_request_target

This commit is contained in:
Earl Warren 2023-10-15 17:59:57 +02:00
parent 63eec0e8f3
commit a580cb63b6
No known key found for this signature in database
GPG key ID: 0579CB2928A78A00
2 changed files with 13 additions and 2 deletions

View file

@ -1,4 +1,10 @@
on: [ push, pull_request ] on:
push:
branches:
- 'main'
- 'v*'
pull_request_target:
jobs: jobs:
integration-nested: integration-nested:
runs-on: self-hosted runs-on: self-hosted

View file

@ -1,4 +1,9 @@
on: [ push, pull_request ] on:
push:
branches:
- 'main'
- 'v*'
pull_request_target:
jobs: jobs:
integration: integration: