mirror of
https://github.com/lord-alfred/ipranges.git
synced 2026-07-04 19:21:55 +00:00
Add comment about get 1st commit email
This commit is contained in:
@@ -93,7 +93,7 @@ jobs:
|
||||
git remote add github "https://${GITHUB_ACTOR}:${GITHUB_TOKEN}@github.com/${GITHUB_REPOSITORY}.git"
|
||||
git pull github ${GITHUB_REF} --ff-only
|
||||
|
||||
# Get name & email from 1st commit
|
||||
# Get name & email from 1st commit (needs `fetch-depth: 0` in step `actions/checkout@v3`)
|
||||
git config --local user.email "$(git log --format='%ae' --reverse | head -1)"
|
||||
git config --local user.name "$(git log --format='%an' --reverse | head -1)"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user