ci: push, pull: debug logging

This commit is contained in:
Simon Michael 2022-04-20 22:58:18 -10:00
parent 5e46044eb6
commit 64ae4c25fa
2 changed files with 8 additions and 4 deletions

View File

@ -90,10 +90,12 @@ jobs:
run: |
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 "debug: origin/master:"
echo "debug: $(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 "debug: origin/master="
echo "debug: $(git log --format='%h -%d %s (%an, %ci)' -1 origin/master)"
echo "debug: GITHUB_HEAD_REF=$GITHUB_HEAD_REF"
echo "debug: $(git log --format='%h -%d %s (%an, %ci)' -1 $GITHUB_HEAD_REF)"
echo "debug: RANGE(commits to check)=$RANGE"

View File

@ -93,10 +93,12 @@ jobs:
run: |
RANGE=${BEFORE:-origin/master}..${GITHUB_HEAD_REF:-}
echo "debug: last 10 commits:"
echo "debug: $(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 "debug: BEFORE=$BEFORE"
echo "debug: $(git log --format='%h -%d %s (%an, %ci)' -1 $BEFORE)"
echo "debug: origin/master="
echo "debug: $(git log --format='%h -%d %s (%an, %ci)' -1 origin/master)"
echo "debug: GITHUB_HEAD_REF=$GITHUB_HEAD_REF"
echo "debug: $(git log --format='%h -%d %s (%an, %ci)' -1 $GITHUB_HEAD_REF)"
echo "debug: RANGE(commits to check)=$RANGE"