diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 94b539d..53d8ae2 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -2,8 +2,7 @@ name: Release on: workflow_run: - workflows: - - Mocha + workflows: Mocha types: - completed push: @@ -17,6 +16,8 @@ jobs: runs-on: ubuntu-latest timeout-minutes: 10 + if: ${{ github.event.workflow_run.conclusion == 'success' }} + steps: - name: Generate Token id: generate_token