From a65ae6bc278ebdd386cb5f28ea28ef2b864135cc Mon Sep 17 00:00:00 2001 From: Jeremy Harisch <48282931+jeremyharisch@users.noreply.github.com> Date: Wed, 27 Sep 2023 11:05:02 +0200 Subject: [PATCH] Run GH ACtion also on release branches (#1785) --- .github/workflows/lint-golangci.yml | 8 +++++++- .github/workflows/test-e2e-create-module.yml | 12 ++++++++++-- .github/workflows/test-smoke.yml | 12 ++++++++++-- 3 files changed, 27 insertions(+), 5 deletions(-) diff --git a/.github/workflows/lint-golangci.yml b/.github/workflows/lint-golangci.yml index 16e1dad7b..6319050fc 100644 --- a/.github/workflows/lint-golangci.yml +++ b/.github/workflows/lint-golangci.yml @@ -1,7 +1,13 @@ name: pull-cli-lint on: pull_request: - branches: [ "main" ] + branches: + - main + - 'release-**' + paths: + - 'go.mod' + - 'go.sum' + - '**.go' workflow_dispatch: jobs: golangci: diff --git a/.github/workflows/test-e2e-create-module.yml b/.github/workflows/test-e2e-create-module.yml index bc25eff41..60623b2d3 100644 --- a/.github/workflows/test-e2e-create-module.yml +++ b/.github/workflows/test-e2e-create-module.yml @@ -2,9 +2,17 @@ name: TestSuite E2E - create module on: push: - branches: [ "main" ] + branches: + - main + - 'release-**' pull_request: - branches: [ "main" ] + branches: + - main + - 'release-**' + paths: + - 'go.mod' + - 'go.sum' + - '**.go' jobs: e2e: strategy: diff --git a/.github/workflows/test-smoke.yml b/.github/workflows/test-smoke.yml index 27476819d..7e3d6dd9e 100644 --- a/.github/workflows/test-smoke.yml +++ b/.github/workflows/test-smoke.yml @@ -2,9 +2,17 @@ name: TestSuite Smoke on: push: - branches: [ "main" ] + branches: + - main + - 'release-**' pull_request: - branches: [ "main" ] + branches: + - main + - 'release-**' + paths: + - 'go.mod' + - 'go.sum' + - '**.go' jobs: cli-deploy: name: "kyma deploy"