Skip to content

Commit d5ff336

Browse files
authored
[PATCH] Run Tests and CodeQL on release branches (#274)
## Summary - Fixes the `push.branches` entry in `Tests.yml`, which read `release-` rather than `release-*` and so matched no branch, leaving maintenance branches with no post-merge test run. - Adds `release-*` to the `pull_request.branches` list in `CodeQL.yml`, which previously ran only on pull requests into `main`. - Both checks are required by the branch ruleset, so they have to run on release branches before that ruleset can cover them. Co-authored-by: ITensorBot <278814285+ITensorBot@users.noreply.github.com>
1 parent f8d7224 commit d5ff336

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

‎.github/workflows/CodeQL.yml‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ on:
33
pull_request:
44
branches:
55
- "main"
6+
- "release-*"
67
concurrency:
78
group: "${{ github.workflow }}-${{ github.ref }}"
89
cancel-in-progress: "${{ startsWith(github.ref, 'refs/pull/') }}"

‎.github/workflows/Tests.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ on:
44
branches:
55
- "master"
66
- "main"
7-
- "release-"
7+
- "release-*"
88
tags: "*"
99
paths-ignore:
1010
- "docs/**"

0 commit comments

Comments
 (0)