From 3a130cb102fb578c696a8ed4f408335b98782bf8 Mon Sep 17 00:00:00 2001 From: Arun Date: Sun, 10 Jan 2021 23:39:44 +0530 Subject: [PATCH] chore(actions): Use cancel workflow action (#2763) --- .github/workflows/cancel.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 .github/workflows/cancel.yml diff --git a/.github/workflows/cancel.yml b/.github/workflows/cancel.yml new file mode 100644 index 00000000..19496c5b --- /dev/null +++ b/.github/workflows/cancel.yml @@ -0,0 +1,12 @@ +name: Cancel +on: [push] +jobs: + cancel: + name: "Cancel Previous Runs" + runs-on: ubuntu-latest + timeout-minutes: 3 + steps: + - uses: styfle/cancel-workflow-action@0.6.0 + with: + workflow_id: 400555, 400556, 905313, 1451724, 1710116, 3185001, 3438604 + access_token: ${{ secrets.GITHUB_TOKEN }}