This is an automated email from the ASF dual-hosted git repository. potiuk pushed a commit to branch v1-10-test in repository https://gitbox.apache.org/repos/asf/airflow.git
commit 73fbd26a3978412e6cdfadb1e676aafd01e2a167 Author: Jarek Potiuk <[email protected]> AuthorDate: Sat Oct 10 18:33:06 2020 +0200 Fixes cancelling of too many workflows. (#11403) A problem was introduced in #11397 where a bit too many "Build Image" jobs is being cancelled by subsequent Build Image run. For now it cancels all the Build Image jobs that are running :(. (cherry picked from commit 076fe88a1dadc9e9cde4674e79c3dc9e1881dffb) --- .github/workflows/build-images-workflow-run.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build-images-workflow-run.yml b/.github/workflows/build-images-workflow-run.yml index fe95dce..ad94cdc 100644 --- a/.github/workflows/build-images-workflow-run.yml +++ b/.github/workflows/build-images-workflow-run.yml @@ -124,11 +124,11 @@ jobs: # to match the jobs using job name rather than use proper API because that feature # is currently missing in GitHub Actions ¯\_(ツ)_/¯. id: extract-cancelled-failed-runs - if: steps.source-run-info-failed.outputs.cancelledRuns != '[]' + if: steps.cancel-failed.outputs.cancelledRuns != '[]' run: | REGEXP="Source Run id: " SEPARATOR="" - for run_id in $(echo "${{ steps.source-run-info-failed.outputs.cancelledRuns }}" | jq '.[]') + for run_id in $(echo "${{ steps.cancel-failed.outputs.cancelledRuns }}" | jq '.[]') do REGEXP="${REGEXP}${SEPARATOR}(${run_id})" SEPARATOR="|"
