diff --git a/.github/workflows/check-all.yml b/.github/workflows/check-all.yml index 5051aa1bfb..41d50df468 100644 --- a/.github/workflows/check-all.yml +++ b/.github/workflows/check-all.yml @@ -19,6 +19,16 @@ env: RUSTFLAGS: "-D warnings -A deprecated -C debuginfo=0" jobs: + cleanup: + runs-on: ubuntu-latest + permissions: + actions: write + steps: + - uses: styfle/cancel-workflow-action@01ce38bf961b4e243a6342cbade0dbc8ba3f0432 + with: + all_but_latest: true + access_token: ${{ github.token }} + check-all: timeout-minutes: 20 runs-on: ubuntu-latest diff --git a/.github/workflows/check-each.yml b/.github/workflows/check-each.yml index 86e40f3a82..687443d96f 100644 --- a/.github/workflows/check-each.yml +++ b/.github/workflows/check-each.yml @@ -24,6 +24,16 @@ env: RUSTFLAGS: "-D warnings -A deprecated -C debuginfo=0" jobs: + cleanup: + runs-on: ubuntu-latest + permissions: + actions: write + steps: + - uses: styfle/cancel-workflow-action@01ce38bf961b4e243a6342cbade0dbc8ba3f0432 + with: + all_but_latest: true + access_token: ${{ github.token }} + list-changed-crates: timeout-minutes: 10 runs-on: ubuntu-latest diff --git a/.github/workflows/k8s.yml b/.github/workflows/k8s.yml index ac5c7172e1..b358aaad1a 100644 --- a/.github/workflows/k8s.yml +++ b/.github/workflows/k8s.yml @@ -14,6 +14,16 @@ on: - .github/workflows/k8s.yml jobs: + cleanup: + runs-on: ubuntu-latest + permissions: + actions: write + steps: + - uses: styfle/cancel-workflow-action@01ce38bf961b4e243a6342cbade0dbc8ba3f0432 + with: + all_but_latest: true + access_token: ${{ github.token }} + k3d-linkerd-install: timeout-minutes: 20 runs-on: ubuntu-latest