From e5bf6ac2e635d83d1b13f96008da1b1a4b22eede Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Charles-Edouard=20Br=C3=A9t=C3=A9ch=C3=A9?= Date: Mon, 9 Sep 2024 19:55:54 +0200 Subject: [PATCH] chore: fix ci MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Charles-Edouard Brétéché --- .github/workflows/cel-test.yml | 4 ++-- .github/workflows/check-actions.yaml | 7 ++----- .github/workflows/check-codegen.yml | 1 + .github/workflows/ci.yml | 6 ++---- .github/workflows/test.yml | 1 - 5 files changed, 7 insertions(+), 12 deletions(-) diff --git a/.github/workflows/cel-test.yml b/.github/workflows/cel-test.yml index ea42bfd75..262e4dca9 100644 --- a/.github/workflows/cel-test.yml +++ b/.github/workflows/cel-test.yml @@ -3,10 +3,10 @@ name: E2E Tests - CEL permissions: {} on: - workflow_dispatch: {} pull_request: branches: - - 'main' + - main + - release-* concurrency: group: ${{ github.workflow }}-${{ github.ref }} diff --git a/.github/workflows/check-actions.yaml b/.github/workflows/check-actions.yaml index 8149e8105..5749e4eb0 100644 --- a/.github/workflows/check-actions.yaml +++ b/.github/workflows/check-actions.yaml @@ -3,13 +3,10 @@ name: Check actions permissions: {} on: - push: - branches: - - '*' pull_request: branches: - - 'main' - - 'release*' + - main + - release-* jobs: check: diff --git a/.github/workflows/check-codegen.yml b/.github/workflows/check-codegen.yml index 8bc48606f..604cdf59d 100644 --- a/.github/workflows/check-codegen.yml +++ b/.github/workflows/check-codegen.yml @@ -6,6 +6,7 @@ on: pull_request: branches: - main + - release-* concurrency: group: ${{ github.workflow }}-${{ github.ref }} diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 056dd9607..141d2df7a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -3,13 +3,10 @@ name: Policy Test permissions: {} on: - push: - branches: - - '*' pull_request: branches: - main - - release* + - release-* concurrency: group: ${{ github.workflow }}-${{ github.ref }} @@ -29,6 +26,7 @@ jobs: - name: Run ah lint working-directory: . run: ah lint -k kyverno + test: runs-on: ubuntu-latest steps: diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 80c579b46..3eee72305 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -8,7 +8,6 @@ name: E2E Tests permissions: {} on: - workflow_dispatch: {} pull_request: branches: - main