From 4de8f85eecec4062210df66909272487196fd559 Mon Sep 17 00:00:00 2001 From: Jarek Potiuk Date: Sun, 11 Oct 2020 13:54:00 +0200 Subject: [PATCH] Fixes SHA used for cancel-workflow-action (#11400) The SHA of cancel-workflow-action in #11397 was pointing to previous (3.1) version of the action. This PR fixes it to point to the right (3.2) version. --- .github/workflows/build-images-workflow-run.yml | 10 +++++----- .github/workflows/codeql-cancel.yml | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/build-images-workflow-run.yml b/.github/workflows/build-images-workflow-run.yml index 1340d32f34..fdb7d09b5f 100644 --- a/.github/workflows/build-images-workflow-run.yml +++ b/.github/workflows/build-images-workflow-run.yml @@ -65,7 +65,7 @@ jobs: token: ${{ secrets.GITHUB_TOKEN }} sourceRunId: ${{ github.event.workflow_run.id }} - name: "Cancel duplicated 'CI Build' runs" - uses: potiuk/cancel-workflow-runs@ca4b70a6910d33990e16d95e0c116914cdc0dfd0 # v3_2 + uses: potiuk/cancel-workflow-runs@f696c622a83e4a63fff74848d3b149074658607d # v3_2 with: token: ${{ secrets.GITHUB_TOKEN }} cancelMode: duplicates @@ -84,7 +84,7 @@ jobs: # in GitHub Actions, we have to use Job names to match Event/Repo/Branch from the # build-info step there to find the duplicates ¯\_(ツ)_/¯. - uses: potiuk/cancel-workflow-runs@ca4b70a6910d33990e16d95e0c116914cdc0dfd0 # v3_2 + uses: potiuk/cancel-workflow-runs@f696c622a83e4a63fff74848d3b149074658607d # v3_2 with: cancelMode: namedJobs token: ${{ secrets.GITHUB_TOKEN }} @@ -105,7 +105,7 @@ jobs: # can cancel all the matching "Build Images" workflow runs in the two following steps. # Yeah. Adding to the complexity ¯\_(ツ)_/¯. - uses: potiuk/cancel-workflow-runs@ca4b70a6910d33990e16d95e0c116914cdc0dfd0 # v3_2 + uses: potiuk/cancel-workflow-runs@f696c622a83e4a63fff74848d3b149074658607d # v3_2 id: cancel-failed with: token: ${{ secrets.GITHUB_TOKEN }} @@ -140,7 +140,7 @@ jobs: # it to cancel any jobs that have matching names containing Source Run Id: # followed by one of the run ids. Yes I know it's super complex ¯\_(ツ)_/¯. if: env.BUILD_IMAGES == 'true' && steps.source-run-info-failed.outputs.cancelledRuns != '[]' - uses: potiuk/cancel-workflow-runs@ca4b70a6910d33990e16d95e0c116914cdc0dfd0 # v3_2 + uses: potiuk/cancel-workflow-runs@f696c622a83e4a63fff74848d3b149074658607d # v3_2 with: cancelMode: namedJobs token: ${{ secrets.GITHUB_TOKEN }} @@ -362,7 +362,7 @@ jobs: needs: [build-images] steps: - name: "Canceling the 'CI Build' source workflow in case of failure!" - uses: potiuk/cancel-workflow-runs@ca4b70a6910d33990e16d95e0c116914cdc0dfd0 # v3_2 + uses: potiuk/cancel-workflow-runs@f696c622a83e4a63fff74848d3b149074658607d # v3_2 with: token: ${{ secrets.GITHUB_TOKEN }} cancelMode: self diff --git a/.github/workflows/codeql-cancel.yml b/.github/workflows/codeql-cancel.yml index 7dcda4bac1..2221d7a0be 100644 --- a/.github/workflows/codeql-cancel.yml +++ b/.github/workflows/codeql-cancel.yml @@ -12,7 +12,7 @@ jobs: if: github.repository == 'apache/airflow' || github.event.workflow_run.event != 'schedule' steps: - name: "Cancel duplicated 'CodeQL' runs" - uses: potiuk/cancel-workflow-runs@ca4b70a6910d33990e16d95e0c116914cdc0dfd0 # v3_2 + uses: potiuk/cancel-workflow-runs@f696c622a83e4a63fff74848d3b149074658607d # v3_2 id: cancel with: token: ${{ secrets.GITHUB_TOKEN }}