Add debug to update workflow

This commit is contained in:
Lord Alfred
2023-06-26 02:26:45 +03:00
committed by GitHub
parent af7d82bf78
commit f784fcef19
+4
View File
@@ -90,6 +90,10 @@ jobs:
git remote add github "https://${GITHUB_ACTOR}:${GITHUB_TOKEN}@github.com/${GITHUB_REPOSITORY}.git"
git pull github ${GITHUB_REF} --ff-only
# DEBUG
echo "$(git log --format='%ae' --reverse | head -1)"
echo "$(git log --reverse | head -5)"
# Get name & email from 1st commit
git config --local user.email "$(git log --format='%ae' --reverse | head -1)"