diff --git a/.github/workflows/cifuzz.yaml b/.github/workflows/cifuzz.yaml index 8ffbcaac..f18035d9 100644 --- a/.github/workflows/cifuzz.yaml +++ b/.github/workflows/cifuzz.yaml @@ -2,7 +2,8 @@ name: fuzz on: pull_request: branches: - - main + - 'main' + - 'release/**' paths-ignore: - 'CHANGELOG.md' - 'README.md' diff --git a/.github/workflows/e2e.yaml b/.github/workflows/e2e.yaml index 2a17da7f..e8006385 100644 --- a/.github/workflows/e2e.yaml +++ b/.github/workflows/e2e.yaml @@ -8,7 +8,8 @@ on: - 'MAINTAINERS' push: branches: - - main + - 'main' + - 'release/**' permissions: contents: read # for actions/checkout to fetch code @@ -28,8 +29,8 @@ jobs: **/go.sum **/go.mod - name: Enable integration tests - # Only run integration tests for main branch - if: github.ref == 'refs/heads/main' + # Only run integration tests for main and release branches + if: github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/heads/release/') run: | echo 'GO_TAGS=integration' >> $GITHUB_ENV - name: Setup Kubernetes @@ -63,8 +64,8 @@ jobs: **/go.sum **/go.mod - name: Enable integration tests - # Only run integration tests for main branch - if: github.ref == 'refs/heads/main' + # Only run integration tests for main and release branches + if: github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/heads/release/') run: | echo 'GO_TAGS=integration' >> $GITHUB_ENV - name: Prepare diff --git a/.github/workflows/scan.yaml b/.github/workflows/scan.yaml index 0b6515d3..89a0ea59 100644 --- a/.github/workflows/scan.yaml +++ b/.github/workflows/scan.yaml @@ -2,9 +2,9 @@ name: scan on: push: - branches: [ main ] + branches: [ 'main', 'release/**' ] pull_request: - branches: [ main ] + branches: [ 'main', 'release/**' ] schedule: - cron: '18 10 * * 3' diff --git a/.github/workflows/tests.yaml b/.github/workflows/tests.yaml index b9105817..1a3cde05 100644 --- a/.github/workflows/tests.yaml +++ b/.github/workflows/tests.yaml @@ -9,7 +9,8 @@ on: push: branches: - - main + - 'main' + - 'release/**' permissions: contents: read # for actions/checkout to fetch code diff --git a/.github/workflows/verify.yaml b/.github/workflows/verify.yaml index 53731cbc..859db382 100644 --- a/.github/workflows/verify.yaml +++ b/.github/workflows/verify.yaml @@ -9,7 +9,8 @@ on: push: branches: - - main + - 'main' + - 'release/**' permissions: contents: read # for actions/checkout to fetch code