diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 38a45ff96..2a3dfa408 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -1,10 +1,5 @@ name: Release on: - workflow_dispatch: - branches: - - master - - cha0rn/openapi-3-1-support - workflow_run: workflows: - "Node.js CI" @@ -16,7 +11,7 @@ jobs: release: name: Release runs-on: ubuntu-latest - if: ${{ github.event.workflow_run.head_branch === 'cha0rn/openapi-3-1-support' || (github.event.workflow_run.head_branch === 'master' && github.event.workflow_run.conclusion == 'success') }} + if: ${{ github.event.workflow_run.conclusion == 'success' }} steps: - name: Checkout uses: actions/checkout@v2