From 1179c10a36f3888c02799116f81b4f0a361d38ea Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rimas=20Misevi=C4=8Dius?= Date: Wed, 6 Nov 2024 22:48:32 +0200 Subject: [PATCH] Edit workflows to run on version branches (e.g. v1.x) --- .appveyor.yml | 4 +++- .github/workflows/static_analysis.yml | 2 +- .github/workflows/test-macos.yml | 2 +- .github/workflows/test-ubuntu.yml | 2 +- .github/workflows/test-windows.yml | 2 +- 5 files changed, 7 insertions(+), 5 deletions(-) diff --git a/.appveyor.yml b/.appveyor.yml index 5e29699..c0b3578 100644 --- a/.appveyor.yml +++ b/.appveyor.yml @@ -1,5 +1,7 @@ branches: - only: [ main ] + only: + - main + - /v\d+\.x/ skip_commits: files: diff --git a/.github/workflows/static_analysis.yml b/.github/workflows/static_analysis.yml index d91d051..5d8fdeb 100644 --- a/.github/workflows/static_analysis.yml +++ b/.github/workflows/static_analysis.yml @@ -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' ] diff --git a/.github/workflows/test-macos.yml b/.github/workflows/test-macos.yml index 5476da7..0cbec69 100644 --- a/.github/workflows/test-macos.yml +++ b/.github/workflows/test-macos.yml @@ -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' ] diff --git a/.github/workflows/test-ubuntu.yml b/.github/workflows/test-ubuntu.yml index 7e6b1ab..6791149 100644 --- a/.github/workflows/test-ubuntu.yml +++ b/.github/workflows/test-ubuntu.yml @@ -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' ] diff --git a/.github/workflows/test-windows.yml b/.github/workflows/test-windows.yml index 367dbba..e54a344 100644 --- a/.github/workflows/test-windows.yml +++ b/.github/workflows/test-windows.yml @@ -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' ]