mirror of https://github.com/apache/druid.git
Fix GHA CI branch trigger patterns (#14067)
* fix matching pattern on release branches * test
This commit is contained in:
parent
3a7e4efdd6
commit
966cae1c94
|
@ -22,7 +22,8 @@ on:
|
|||
- 'owasp-dependency-check-suppressions.xml'
|
||||
branches:
|
||||
- master
|
||||
- /^\d+\.\d+\.\d+(-\S*)?$/ # release branches
|
||||
- '[0-9]+.[0-9]+.[0-9]+' # release branches
|
||||
- '[0-9]+.[0-9]+.[0-9]+-[A-Za-z0-9]+' # release branches
|
||||
|
||||
jobs:
|
||||
build:
|
||||
|
|
|
@ -18,11 +18,13 @@ on:
|
|||
push:
|
||||
branches:
|
||||
- master
|
||||
- /^\d+\.\d+\.\d+(-\S*)?$/ # release branches
|
||||
- '[0-9]+.[0-9]+.[0-9]+' # release branches
|
||||
- '[0-9]+.[0-9]+.[0-9]+-[A-Za-z0-9]+' # release branches
|
||||
pull_request:
|
||||
branches:
|
||||
- master
|
||||
- /^\d+\.\d+\.\d+(-\S*)?$/ # release branches
|
||||
- '[0-9]+.[0-9]+.[0-9]+' # release branches
|
||||
- '[0-9]+.[0-9]+.[0-9]+-[A-Za-z0-9]+' # release branches
|
||||
|
||||
concurrency:
|
||||
group: '${{ github.workflow }} @ ${{ github.event.pull_request.head.label || github.head_ref || github.ref }}'
|
||||
|
|
|
@ -24,7 +24,8 @@ on:
|
|||
- '**/*.md'
|
||||
branches:
|
||||
- master
|
||||
- /^\d+\.\d+\.\d+(-\S*)?$/ # release branches
|
||||
- '[0-9]+.[0-9]+.[0-9]+' # release branches
|
||||
- '[0-9]+.[0-9]+.[0-9]+-[A-Za-z0-9]+' # release branches
|
||||
pull_request:
|
||||
paths-ignore:
|
||||
- 'docs/**'
|
||||
|
@ -34,7 +35,8 @@ on:
|
|||
- '**/*.md'
|
||||
branches:
|
||||
- master
|
||||
- /^\d+\.\d+\.\d+(-\S*)?$/ # release branches
|
||||
- '[0-9]+.[0-9]+.[0-9]+' # release branches
|
||||
- '[0-9]+.[0-9]+.[0-9]+-[A-Za-z0-9]+' # release branches
|
||||
|
||||
concurrency:
|
||||
group: '${{ github.workflow }} @ ${{ github.event.pull_request.head.label || github.head_ref || github.ref }}'
|
||||
|
|
Loading…
Reference in New Issue