diff --git a/.github/workflows/tarball.yml b/.github/workflows/tarball.yml index 17e91c7007..68ea545799 100644 --- a/.github/workflows/tarball.yml +++ b/.github/workflows/tarball.yml @@ -6,6 +6,10 @@ on: - main - 2.x pull_request: + +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true jobs: distbuild: @@ -26,8 +30,6 @@ jobs: uses: actions/checkout@v4 with: ref: ${{ steps.sha-mode.sha }} - - name: Cancel Previous Runs - uses: styfle/cancel-workflow-action@0.12.1 - name: Install Python uses: actions/setup-python@v5 with: @@ -56,8 +58,6 @@ jobs: env: INSTALL_DIR: /tmp/foo2 steps: - - name: Cancel previous runs - uses: styfle/cancel-workflow-action@0.12.1 - name: Access tarball uses: actions/download-artifact@v4 with: