ci: skip e2e tests if caller was not successful (#1714)

This commit is contained in:
Malte Poll 2023-05-03 11:40:09 +02:00 committed by GitHub
parent d7a2ddd939
commit d2cbf3dc83
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 2 deletions

View File

@ -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..'

View File

@ -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 }}