diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 2202aeb..f3c78cd 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -26,12 +26,11 @@ jobs: submodules: recursive - name: Check lint and test workflow status + if: ${{ github.event_name != 'workflow_dispatch' && github.event.workflow_run.conclusion != 'success' }} id: check-status run: | - if [ "${{ github.event_name != 'workflow_dispatch' && github.event.workflow_run.conclusion }}" != "success" ]; then - echo "Lint and test workflow did not complete successfully." - exit 1 - fi + echo "Lint and test workflow did not complete successfully." + exit 1 - name: Configure Git run: |