Skip to content

Commit

Permalink
Edit workflows to run on version branches (e.g. v1.x)
Browse files Browse the repository at this point in the history
  • Loading branch information
rmisev committed Nov 22, 2024
1 parent 5305205 commit 1179c10
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 5 deletions.
4 changes: 3 additions & 1 deletion .appveyor.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
branches:
only: [ main ]
only:
- main
- /v\d+\.x/

skip_commits:
files:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/static_analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Static Analysis

on:
push:
branches: [ main ]
branches: [ main, 'v[0-9]+.x' ]
paths-ignore: [ 'doc/**', '**.md' ]
pull_request:
paths-ignore: [ 'doc/**', '**.md' ]
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test-macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: macOS

on:
push:
branches: [ main ]
branches: [ main, 'v[0-9]+.x' ]
paths-ignore: [ 'doc/**', '**.md' ]
pull_request:
paths-ignore: [ 'doc/**', '**.md' ]
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test-ubuntu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Ubuntu

on:
push:
branches: [ main ]
branches: [ main, 'v[0-9]+.x' ]
paths-ignore: [ 'doc/**', '**.md' ]
pull_request:
paths-ignore: [ 'doc/**', '**.md' ]
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test-windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Windows

on:
push:
branches: [ main ]
branches: [ main, 'v[0-9]+.x' ]
paths-ignore: [ 'doc/**', '**.md' ]
pull_request:
paths-ignore: [ 'doc/**', '**.md' ]
Expand Down

0 comments on commit 1179c10

Please sign in to comment.