ci/cd: run CI checks on v* branches as well

This commit is contained in:
Elias Schneider
2026-10-11 20:55:20 +02:00
parent 5bf7e1d262
commit 80a504b454
2 changed files with 6 additions and 4 deletions
+3 -3
View File
@@ -2,15 +2,15 @@ name: CI
on:
push:
branches: [main]
branches: [main, "v[0-9]+"]
pull_request:
branches: [main, breaking/**]
branches: [main, "v[0-9]+"]
workflow_dispatch:
permissions:
contents: read
# Cancel outdated runs of a pull request but test every commit on main
# Cancel outdated runs of a pull request but test every commit on main and the major version branches
concurrency:
group: ci-${{ github.event_name == 'pull_request' && github.event.pull_request.number || github.sha }}
cancel-in-progress: ${{ github.event_name == 'pull_request' }}
+3 -1
View File
@@ -28,7 +28,9 @@ jobs:
max-failures: 4
# PR Branch Checks
allowed-target-branches: "main"
allowed-target-branches: |
main
v*
blocked-target-branches: ""
allowed-source-branches: ""
blocked-source-branches: ""