From 5befa6f80a394198e30d11c4df00f1d1a9f80531 Mon Sep 17 00:00:00 2001 From: JT <547158+jntrnr@users.noreply.github.com> Date: Sun, 20 Feb 2022 20:41:51 -0500 Subject: [PATCH] Add auto-cancelling previous PRs (#4573) * Add auto-cancelling previous PRs * Update ci.yml --- .github/workflows/ci.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 9c33a4d901..083d03c52e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -31,6 +31,11 @@ jobs: runs-on: ${{ matrix.platform }} steps: + - name: Cancel Previous Runs + uses: styfle/cancel-workflow-action@0.9.1 + with: + access_token: ${{ github.token }} + - uses: actions/checkout@v2 - name: Setup Rust toolchain