if (FALSE) {
# SHAs from feature branch differ from default br
get_pr_sha()
# commit messages from the SHAs above
# for a PR `branch` -> `remotes/origin/{main,master}`
get_pr_msgs()
# for a feature branch -> default branch
get_pr_msgs("feature")
}
Run the code above in your browser using DataLab