You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by po...@apache.org on 2020/12/27 13:52:45 UTC

[airflow-cancel-workflow-runs] 29/44: Fix example

This is an automated email from the ASF dual-hosted git repository.

potiuk pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/airflow-cancel-workflow-runs.git

commit 7dc574153737e89e25bbdf05a28ea013ba00b6a0
Author: Tobiasz Kędzierski <to...@gmail.com>
AuthorDate: Sat Aug 29 12:16:37 2020 +0200

    Fix example
---
 README.md | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/README.md b/README.md
index f35d466..021e34f 100644
--- a/README.md
+++ b/README.md
@@ -520,7 +520,7 @@ jobs:
           jobNameRegexps: '["^Static checks$", "^Build docs$", "^Build prod image.*"]'
       - name: "Extract canceled failed runs"
         id: extract-cancelled-failed-runs
-        if: steps.cancel-failed.outputs.cancelledRuns != "[]"
+        if: steps.cancel-failed.outputs.cancelledRuns != '[]'
         run: |
             REGEXP="Fail fast CI. Source run: "
             SEPARATOR=""
@@ -531,7 +531,7 @@ jobs:
             done
             echo "::set-output name=matching-regexp::${REGEXP}"
       - name: "Cancel triggered 'Cancelling' runs for the cancelled failed runs"
-        if: steps.cancel-failed.outputs.cancelledRuns != "[]"
+        if: steps.cancel-failed.outputs.cancelledRuns != '[]'
         uses: potiuk/cancel-workflow-runs@master
         with:
           cancelMode: namedJobs