diff --git a/.github/workflows/copyright.yml b/.github/workflows/copyright.yml index 55fab255a8d..6f5774af6d1 100644 --- a/.github/workflows/copyright.yml +++ b/.github/workflows/copyright.yml @@ -14,6 +14,11 @@ jobs: copyright-check: runs-on: buildjet-4vcpu-ubuntu-2204 steps: + - name: Cancel Previous Runs + uses: styfle/cancel-workflow-action + with: + all_but_latest: true + - uses: actions/checkout@v3 - uses: actions/setup-go@v3 diff --git a/.github/workflows/devnet.yml b/.github/workflows/devnet.yml index 4d21f5241e0..9222859a099 100644 --- a/.github/workflows/devnet.yml +++ b/.github/workflows/devnet.yml @@ -8,6 +8,11 @@ jobs: update: runs-on: buildjet-4vcpu-ubuntu-2204 steps: + - name: Cancel Previous Runs + uses: styfle/cancel-workflow-action + with: + all_but_latest: true + - uses: actions/checkout@v3 - uses: actions/setup-go@v3 diff --git a/.github/workflows/docker-grandpa.yml b/.github/workflows/docker-grandpa.yml index 84ceada7cb2..1a98da19d6e 100644 --- a/.github/workflows/docker-grandpa.yml +++ b/.github/workflows/docker-grandpa.yml @@ -22,6 +22,11 @@ jobs: env: DOCKER_BUILDKIT: "1" steps: + - name: Cancel Previous Runs + uses: styfle/cancel-workflow-action + with: + all_but_latest: true + - uses: docker/build-push-action@v4 with: load: true diff --git a/.github/workflows/docker-js.yml b/.github/workflows/docker-js.yml index 448f8dc089b..1df16253b8a 100644 --- a/.github/workflows/docker-js.yml +++ b/.github/workflows/docker-js.yml @@ -22,6 +22,11 @@ jobs: env: DOCKER_BUILDKIT: "1" steps: + - name: Cancel Previous Runs + uses: styfle/cancel-workflow-action + with: + all_but_latest: true + - uses: docker/build-push-action@v4 with: load: true diff --git a/.github/workflows/docker-rpc.yml b/.github/workflows/docker-rpc.yml index b36fd6c8a27..4f583970597 100644 --- a/.github/workflows/docker-rpc.yml +++ b/.github/workflows/docker-rpc.yml @@ -22,6 +22,11 @@ jobs: env: DOCKER_BUILDKIT: "1" steps: + - name: Cancel Previous Runs + uses: styfle/cancel-workflow-action + with: + all_but_latest: true + - uses: docker/build-push-action@v4 with: load: true diff --git a/.github/workflows/docker-stress.yml b/.github/workflows/docker-stress.yml index cb3f22d8d71..6e7ae229c68 100644 --- a/.github/workflows/docker-stress.yml +++ b/.github/workflows/docker-stress.yml @@ -22,6 +22,11 @@ jobs: env: DOCKER_BUILDKIT: "1" steps: + - name: Cancel Previous Runs + uses: styfle/cancel-workflow-action + with: + all_but_latest: true + - uses: docker/build-push-action@v4 with: load: true