ci: fix e2e release abort condition (#1726)

Signed-off-by: Paul Meyer <49727155+katexochen@users.noreply.github.com>
This commit is contained in:
Paul Meyer 2023-05-03 18:18:16 +02:00 committed by GitHub
parent d5fa614df1
commit ab74958b4a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -20,7 +20,7 @@ on:
jobs:
on-failure-quit:
runs-on: ubuntu-22.04
if: github.event.workflow_run.conclusion != 'success'
if: github.event_name == 'workflow_run' && github.event.workflow_run.conclusion != 'success'
steps:
- run: |
echo 'Release workflow failed, exiting..'