diff --git a/.github/workflows/example.yml b/.github/workflows/example.yml index 6a4d7e0..0091978 100644 --- a/.github/workflows/example.yml +++ b/.github/workflows/example.yml @@ -18,7 +18,7 @@ jobs: run: echo Result is $COMPARE_RESULT_SAME - name: 'Foo (executed if branch are at same commit)' run: echo Branch are at same commit!!! - if: env.COMPARE_RESULT_SAME === true + if: env.COMPARE_RESULT_SAME - name: 'Bar (executed if branch are at diff commit)' run: echo Branch are not at same commit. - if: env.COMPARE_RESULT_SAME === false + if: env.COMPARE_RESULT_SAME