Browse Source

Add debug to update workflow [v2]

pull/8/head
Lord Alfred 2 years ago
committed by GitHub
parent
commit
9eca797653
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 6
      .github/workflows/update.yml

6
.github/workflows/update.yml

@ -92,8 +92,10 @@ jobs:
git pull github ${GITHUB_REF} --ff-only
# DEBUG
echo "$(git log --format='%ae' --reverse | head -1)"
echo "$(git log --reverse | head -5)"
echo "ref: ${GITHUB_REF}"
echo "reverse email: $(git log --format='%ae' --reverse | head -1)"
echo "no reverse commit info: $(git log | head -5)"
echo "reverse commit info: $(git log --reverse | head -5)"
# Get name & email from 1st commit
git config --local user.email "$(git log --format='%ae' --reverse | head -1)"

Loading…
Cancel
Save