From daf0ee34f32fda21bb67e58f52de7e5c446b23e5 Mon Sep 17 00:00:00 2001 From: Matthew Sevey Date: Thu, 12 Oct 2023 10:02:51 -0400 Subject: [PATCH] bug: remove buggy echo statement (#78) --- .github/workflows/reusable_dockerfile_pipeline.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/reusable_dockerfile_pipeline.yml b/.github/workflows/reusable_dockerfile_pipeline.yml index 74a5419..6ccf66f 100644 --- a/.github/workflows/reusable_dockerfile_pipeline.yml +++ b/.github/workflows/reusable_dockerfile_pipeline.yml @@ -70,9 +70,9 @@ jobs: id: setting_logic run: | # yamllint disable - echo "build_for_pr=$(echo ${{ github.event == 'pull_request' }}" >> "$GITHUB_OUTPUT" - echo "build_for_merge=$(echo ${{ github.ref == 'refs/heads/main' || github.ref == 'refs/heads/master' || startsWith(github.ref, 'refs/tags/v') }}" >> "$GITHUB_OUTPUT" - echo "not_a_fork=$(echo ${{ github.event.pull_request.head.repo.full_name == github.event.pull_request.base.repo.full_name }}" >> "$GITHUB_OUTPUT" + echo "build_for_pr=${{ github.event == 'pull_request' }}" >> "$GITHUB_OUTPUT" + echo "build_for_merge=${{ github.ref == 'refs/heads/main' || github.ref == 'refs/heads/master' || startsWith(github.ref, 'refs/tags/v') }}" >> "$GITHUB_OUTPUT" + echo "not_a_fork=${{ github.event.pull_request.head.repo.full_name == github.event.pull_request.base.repo.full_name }}" >> "$GITHUB_OUTPUT" # yamllint enable # Log the key inputs to the logic as well a the outputs. We check that