From 9f39f29c644e92e81fd61c5507b59dcf4402cd92 Mon Sep 17 00:00:00 2001 From: arkon Date: Tue, 11 Jan 2022 09:10:42 -0500 Subject: [PATCH] Cancel previous push workflow runs --- .github/workflows/push.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/push.yml b/.github/workflows/push.yml index 31fac168..0eefe5db 100644 --- a/.github/workflows/push.yml +++ b/.github/workflows/push.yml @@ -9,6 +9,12 @@ jobs: build-deploy: runs-on: ubuntu-latest steps: + - name: Cancel previous runs + uses: styfle/cancel-workflow-action@0.9.1 + with: + access_token: ${{ github.token }} + all_but_latest: true + - name: Checkout repository uses: actions/checkout@v2 with: