Skip to content

Commit eca4ad2

Browse files
authored
Fix branch filter pattens for provider branches in ci workflow (apache#45162) (apache#45166)
I **hope** this time it will be ok: https://docs.github.com/en/actions/writing-workflows/workflow-syntax-for-github-actions#filter-pattern-cheat-sheet (cherry picked from commit 2535f4e)
1 parent a53d9f6 commit eca4ad2

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

.github/workflows/ci.yml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,15 @@ on: # yamllint disable-line rule:truthy
2121
schedule:
2222
- cron: '28 1,7,13,19 * * *'
2323
push:
24-
branches: ['v[0-9]+-[0-9]+-test']
24+
branches:
25+
- v[0-9]+-[0-9]+-test
26+
- providers-[a-z]+-?[a-z]*/v[0-9]+-[0-9]+
2527
pull_request:
26-
branches: ['main', 'v[0-9]+-[0-9]+-test', 'v[0-9]+-[0-9]+-stable']
28+
branches:
29+
- main
30+
- v[0-9]+-[0-9]+-test
31+
- v[0-9]+-[0-9]+-stable
32+
- providers-[a-z]+-?[a-z]*/v[0-9]+-[0-9]+
2733
workflow_dispatch:
2834
permissions:
2935
# All other permissions are set to none

0 commit comments

Comments
 (0)