mirror of
https://github.com/simonmichael/hledger.git
synced 2024-09-19 10:17:35 +03:00
ci: push, pull: debug logging
This commit is contained in:
parent
5e46044eb6
commit
64ae4c25fa
6
.github/workflows/pull.yml
vendored
6
.github/workflows/pull.yml
vendored
@ -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"
|
||||
|
6
.github/workflows/push.yml
vendored
6
.github/workflows/push.yml
vendored
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user