summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
e2f95f3)
"git switch" isn't supported by Github git anyway
if [ -n "${GITHUB_HEAD_REF}" ]; then
echo "Pull request authors"
# env
if [ -n "${GITHUB_HEAD_REF}" ]; then
echo "Pull request authors"
# env
- # Create the names of the branches here, as they don't seem
- # to exist properly?!
- git switch -c $GITHUB_HEAD_REF
echo git merge-base origin/${GITHUB_BASE_REF} ${GITHUB_HEAD_REF}
branch_off=$(git merge-base origin/${GITHUB_BASE_REF} ${GITHUB_HEAD_REF})
git log --pretty=format:"Author: %an <%ae>" $branch_off..${GITHUB_SHA}^2
echo git merge-base origin/${GITHUB_BASE_REF} ${GITHUB_HEAD_REF}
branch_off=$(git merge-base origin/${GITHUB_BASE_REF} ${GITHUB_HEAD_REF})
git log --pretty=format:"Author: %an <%ae>" $branch_off..${GITHUB_SHA}^2