From d2cbf3dc83dce3d4873c51597d78a4e4fde8878b Mon Sep 17 00:00:00 2001 From: Malte Poll <1780588+malt3@users.noreply.github.com> Date: Wed, 3 May 2023 11:40:09 +0200 Subject: [PATCH] ci: skip e2e tests if caller was not successful (#1714) --- .github/workflows/e2e-mini.yml | 2 +- .github/workflows/e2e-test-release.yml | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/e2e-mini.yml b/.github/workflows/e2e-mini.yml index 1b0a2e23f..788a60cfa 100644 --- a/.github/workflows/e2e-mini.yml +++ b/.github/workflows/e2e-mini.yml @@ -24,7 +24,7 @@ on: jobs: on-failure-quit: runs-on: ubuntu-22.04 - if: github.event.workflow_run.conclusion == 'failure' + if: github.event.workflow_run.conclusion != 'success' steps: - run: | echo 'Release workflow failed, exiting..' diff --git a/.github/workflows/e2e-test-release.yml b/.github/workflows/e2e-test-release.yml index 9376b616b..c27bfaf2c 100644 --- a/.github/workflows/e2e-test-release.yml +++ b/.github/workflows/e2e-test-release.yml @@ -20,7 +20,7 @@ on: jobs: on-failure-quit: runs-on: ubuntu-22.04 - if: github.event.workflow_run.conclusion == 'failure' + if: github.event.workflow_run.conclusion != 'success' steps: - run: | echo 'Release workflow failed, exiting..' @@ -234,6 +234,8 @@ jobs: permissions: id-token: write contents: read + checks: write + packages: write uses: ./.github/workflows/e2e-upgrade.yml with: fromVersion: ${{ matrix.fromVersion }}