From 2e1c0213c9387f0f48d169626ef840d73b1a4382 Mon Sep 17 00:00:00 2001 From: Cody Baker <51133164+CodyCBakerPhD@users.noreply.github.com> Date: Tue, 18 Oct 2022 10:34:09 -0400 Subject: [PATCH] also add auto-cancel --- .github/workflows/deploy-tests.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/deploy-tests.yml b/.github/workflows/deploy-tests.yml index fa4db21f3..a7224941a 100644 --- a/.github/workflows/deploy-tests.yml +++ b/.github/workflows/deploy-tests.yml @@ -4,6 +4,12 @@ on: pull_request: jobs: + cancel-previous-runs: + runs-on: ubuntu-latest + steps: + - name: Cancel Previous Runs + uses: styfle/cancel-workflow-action@v0.11.0 + assess-file-changes: uses: neurodatawithoutborders/nwbinspector/.github/workflows/assess-file-changes.yml@dev