Skip to content

Commit

Permalink
Merge pull request #41 from selectiveci/add-committer-info
Browse files Browse the repository at this point in the history
Add committer name and email to build_env
  • Loading branch information
benjaminwood authored Jan 13, 2024
2 parents a7be157 + ff48a31 commit 1124e2e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/bin/build_env.sh
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,8 @@ cat <<EOF
"run_id": "$run_id",
"run_attempt": "$run_attempt",
"commit_message": "$(git log --format=%s -n 1 $sha)",
"runner_id": "$runner_id"
"runner_id": "$runner_id",
"committer_name": "$(git show -s --format='%an' -n 1 $sha)",
"committer_email": "$(git show -s --format='%ae' -n 1 $sha)"
}
EOF

0 comments on commit 1124e2e

Please sign in to comment.