From aa974d26c6dc84568187e730bdf2a158193e0925 Mon Sep 17 00:00:00 2001 From: mmetc <92726601+mmetc@users.noreply.github.com> Date: Mon, 28 Nov 2022 10:52:42 +0100 Subject: [PATCH] enable CI workflow for stable branches (#1889) --- .github/workflows/bats.yml | 13 ++++++++----- .github/workflows/ci-windows-build-msi.yml | 4 +++- .github/workflows/ci_golangci-lint.yml | 1 + .github/workflows/ci_release-drafter.yml | 1 + .github/workflows/codeql-analysis.yml | 8 ++++++-- .github/workflows/dispatch_ci_hub.yaml | 1 + .github/workflows/go-tests-windows.yml | 8 ++++++-- .github/workflows/go-tests.yml | 8 ++++++-- 8 files changed, 32 insertions(+), 12 deletions(-) diff --git a/.github/workflows/bats.yml b/.github/workflows/bats.yml index f8ba05e39..46b1414ef 100644 --- a/.github/workflows/bats.yml +++ b/.github/workflows/bats.yml @@ -13,16 +13,19 @@ name: Tests on: push: - branches: [master] + branches: + - master + - releases/** paths-ignore: - - 'README.md' + - "README.md" pull_request: - branches: [master] + branches: + - master + - releases/** paths-ignore: - - 'README.md' + - "README.md" jobs: - sqlite: uses: ./.github/workflows/bats-sqlite-coverage.yml diff --git a/.github/workflows/ci-windows-build-msi.yml b/.github/workflows/ci-windows-build-msi.yml index d65a5cbfe..8a2cd7024 100644 --- a/.github/workflows/ci-windows-build-msi.yml +++ b/.github/workflows/ci-windows-build-msi.yml @@ -2,7 +2,9 @@ name: build-msi (windows) on: pull_request: - branches: [ master ] + branches: + - master + - releases/** paths-ignore: - 'docs/**' - 'mkdocs.yml' diff --git a/.github/workflows/ci_golangci-lint.yml b/.github/workflows/ci_golangci-lint.yml index d45b42eb5..02792ff5b 100644 --- a/.github/workflows/ci_golangci-lint.yml +++ b/.github/workflows/ci_golangci-lint.yml @@ -6,6 +6,7 @@ on: - v* branches: - master + - releases/** paths-ignore: - 'docs/**' - 'mkdocs.yml' diff --git a/.github/workflows/ci_release-drafter.yml b/.github/workflows/ci_release-drafter.yml index d4aea0e69..2ccb6977c 100644 --- a/.github/workflows/ci_release-drafter.yml +++ b/.github/workflows/ci_release-drafter.yml @@ -5,6 +5,7 @@ on: # branches to consider in the event; optional, defaults to all branches: - master + - releases/** jobs: update_release_draft: diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index 3cb8d1635..c1995cd8d 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -14,10 +14,14 @@ name: "CodeQL" on: push: - branches: [ master ] + branches: + - master + - releases/** pull_request: # The branches below must be a subset of the branches above - branches: [ master ] + branches: + - master + - releases/** schedule: - cron: '15 16 * * 2' diff --git a/.github/workflows/dispatch_ci_hub.yaml b/.github/workflows/dispatch_ci_hub.yaml index d6ac46687..6c1e1a744 100644 --- a/.github/workflows/dispatch_ci_hub.yaml +++ b/.github/workflows/dispatch_ci_hub.yaml @@ -5,6 +5,7 @@ on: # branches to consider in the event; optional, defaults to all branches: - master + - releases/** jobs: dispatch: diff --git a/.github/workflows/go-tests-windows.yml b/.github/workflows/go-tests-windows.yml index b2dc48cc3..eb45f7e48 100644 --- a/.github/workflows/go-tests-windows.yml +++ b/.github/workflows/go-tests-windows.yml @@ -2,11 +2,15 @@ name: Go tests (windows) on: push: - branches: [master] + branches: + - master + - releases/** paths-ignore: - 'README.md' pull_request: - branches: [master] + branches: + - master + - releases/** paths-ignore: - 'README.md' diff --git a/.github/workflows/go-tests.yml b/.github/workflows/go-tests.yml index 9cc64b567..513c30ec5 100644 --- a/.github/workflows/go-tests.yml +++ b/.github/workflows/go-tests.yml @@ -7,11 +7,15 @@ name: Build on: push: - branches: [master] + branches: + - master + - releases/** paths-ignore: - 'README.md' pull_request: - branches: [master] + branches: + - master + - releases/** paths-ignore: - 'README.md'