Skip to content

Commit ef90b8e

Browse files
committed
[workflows] Update branch filter to allow actions on all 'release_*x' branches
By changing the branch filter from an explicit list to a glob, this commit hopes to reduce future maintenance burden (as long as we continue to use the same branch naming convention).
1 parent 51aed99 commit ef90b8e

File tree

3 files changed

+6
-4
lines changed

3 files changed

+6
-4
lines changed

.github/workflows/flang-tests.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@ name: Build and test Flang
22

33
on:
44
pull_request:
5-
branches: [ release_11x, release_12x, release_13x, release_14x ]
5+
branches:
6+
- 'release_*x'
67

78
jobs:
89
build:

.github/workflows/llvm-tests.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,13 @@ on:
77
workflow_dispatch:
88
push:
99
branches:
10-
- 'release/**'
10+
- 'release_*x'
1111
paths:
1212
- 'llvm/**'
1313
- '.github/workflows/llvm-tests.yml'
1414
pull_request:
1515
branches:
16-
- 'release/**'
16+
- 'release_*x'
1717
paths:
1818
- 'llvm/**'
1919
- '.github/workflows/llvm-tests.yml'

.github/workflows/pre-compile_llvm.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@ name: Pre-compile llvm
33
on:
44
workflow_dispatch:
55
push:
6-
branches: [ release_11x, release_12x, release_13x, release_14x ]
6+
branches:
7+
- 'release_*x'
78

89
jobs:
910
build:

0 commit comments

Comments
 (0)