diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 10ae0d2..59fe151 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -5,14 +5,13 @@ on: tags: - '*' workflow_run: - workflows: - - "CI" + workflows: ["CI"] types: - completed jobs: build: runs-on: ubuntu-latest - if: ${{ github.event.workflow_run.conclusion == 'success' }} + if: ${{ github.event_name == 'workflow_run' && github.event.workflow_run.conclusion == 'success' }} steps: - uses: actions/checkout@v2