Skip to content

Commit

Permalink
ci: cancel previous workflow runs
Browse files Browse the repository at this point in the history
  • Loading branch information
q9f committed Mar 2, 2023
1 parent 3b0e9b9 commit 4367cc1
Show file tree
Hide file tree
Showing 6 changed files with 30 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/copyright.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/devnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/docker-grandpa.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/docker-js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/docker-rpc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/docker-stress.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 4367cc1

Please sign in to comment.