diff --git a/.github/workflows/pull.yml b/.github/workflows/pull.yml index 76d70c4f5..c3310b4d3 100644 --- a/.github/workflows/pull.yml +++ b/.github/workflows/pull.yml @@ -91,15 +91,15 @@ jobs: RANGE=${BEFORE:-origin/master}..${GITHUB_HEAD_REF:+origin/$GITHUB_HEAD_REF} echo "debug: last 10 commits:" - echo "debug: $(git log --format='%h -%d %s (%an, %ci)' -10)" + echo "$(git log --format='%h -%d %s (%an, %ci)' -10)" echo "debug: origin/master:" - echo "debug: $(git log --format='%h -%d %s (%an, %ci)' -1 origin/master)" + echo "$(git log --format='%h -%d %s (%an, %ci)' -1 origin/master)" echo "debug: BEFORE=$BEFORE" - echo "debug: $(git log --format='%h -%d %s (%an, %ci)' -1 $BEFORE)" + echo "$(git log --format='%h -%d %s (%an, %ci)' -1 $BEFORE)" echo "debug: GITHUB_HEAD_REF=$GITHUB_HEAD_REF" - echo "debug: $(git log --format='%h -%d %s (%an, %ci)' -1 $GITHUB_HEAD_REF)" + echo "$(git log --format='%h -%d %s (%an, %ci)' -1 $GITHUB_HEAD_REF)" echo "debug: RANGE(commits to check)=$RANGE" - echo "debug: $(git log --format='%h -%d %s (%an, %ci)' --abbrev-commit --date=relative --date-order $RANGE)" + echo "$(git log --format='%h -%d %s (%an, %ci)' --abbrev-commit --date=relative --date-order $RANGE)" if git rev-list --quiet $RANGE then tools/commitlint $RANGE diff --git a/.github/workflows/push.yml b/.github/workflows/push.yml index b158bb098..b40720414 100644 --- a/.github/workflows/push.yml +++ b/.github/workflows/push.yml @@ -94,15 +94,15 @@ jobs: RANGE=${BEFORE:-origin/master}..${GITHUB_HEAD_REF:-} echo "debug: last 10 commits:" - echo "debug: $(git log --format='%h -%d %s (%an, %ci)' -10)" + echo "$(git log --format='%h -%d %s (%an, %ci)' -10)" echo "debug: origin/master:" - echo "debug: $(git log --format='%h -%d %s (%an, %ci)' -1 origin/master)" + echo "$(git log --format='%h -%d %s (%an, %ci)' -1 origin/master)" echo "debug: BEFORE=$BEFORE" - echo "debug: $(git log --format='%h -%d %s (%an, %ci)' -1 $BEFORE)" + echo "$(git log --format='%h -%d %s (%an, %ci)' -1 $BEFORE)" echo "debug: GITHUB_HEAD_REF=$GITHUB_HEAD_REF" - echo "debug: $(git log --format='%h -%d %s (%an, %ci)' -1 $GITHUB_HEAD_REF)" + echo "$(git log --format='%h -%d %s (%an, %ci)' -1 $GITHUB_HEAD_REF)" echo "debug: RANGE(commits to check)=$RANGE" - echo "debug: $(git log --format='%h -%d %s (%an, %ci)' --abbrev-commit --date=relative --date-order $RANGE)" + echo "$(git log --format='%h -%d %s (%an, %ci)' --abbrev-commit --date=relative --date-order $RANGE)" if git rev-list --quiet $RANGE then tools/commitlint $RANGE