From 01f877ac0fcc20b7fdbc7af0f527456210f7a396 Mon Sep 17 00:00:00 2001 From: arkon Date: Thu, 9 Sep 2021 18:20:12 -0400 Subject: [PATCH] [skip ci] Update cancel-workflow-action --- .github/workflows/build_push.yml | 11 ++++++----- .github/workflows/cancel_pull_request.yml | 3 ++- 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/.github/workflows/build_push.yml b/.github/workflows/build_push.yml index ed2f2d76e..afb084814 100644 --- a/.github/workflows/build_push.yml +++ b/.github/workflows/build_push.yml @@ -10,17 +10,18 @@ jobs: name: Validate Gradle Wrapper 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: Clone repo uses: actions/checkout@v2 - name: Validate Gradle Wrapper uses: gradle/wrapper-validation-action@v1 - - name: Cancel previous runs - uses: styfle/cancel-workflow-action@0.8.0 - with: - access_token: ${{ github.token }} - build_multisrc: name: Build multisrc modules needs: check_wrapper diff --git a/.github/workflows/cancel_pull_request.yml b/.github/workflows/cancel_pull_request.yml index 4d6b65f1e..0458f4210 100644 --- a/.github/workflows/cancel_pull_request.yml +++ b/.github/workflows/cancel_pull_request.yml @@ -10,6 +10,7 @@ jobs: cancel: runs-on: ubuntu-latest steps: - - uses: styfle/cancel-workflow-action@0.8.0 + - uses: styfle/cancel-workflow-action@0.9.1 with: workflow_id: ${{ github.event.workflow.id }} + all_but_latest: true