diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 8bb5fa3a82a6..8f02f2d0737c 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -36,11 +36,6 @@ jobs: gh run cancel ${{ github.run_id }} gh run watch ${{ github.run_id }} - - name: Cancel all release preparation runs - env: - GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} - run: yarn release:cancel-preparation-runs - - name: Checkout ${{ github.ref_name }} uses: actions/checkout@v3 with: @@ -67,6 +62,11 @@ jobs: run: | yarn install + - name: Cancel all release preparation runs + env: + GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} + run: yarn release:cancel-preparation-runs + - name: Apply deferred version bump and commit working-directory: . run: |