Releases: NarrativeScience-old/circleci-orb-ghpr
Version 1.1.6
BUG FIX:
Bash parameter expansion fix for GIHUB_PR_COMMMIT_MESSAGE variable. Fixes an edge case where '
chars are used in the commit message.
Version 1.1.5
Overview
BUG FIX: Handle cases where the custom commit fails due to being up to date already after "merge".
Version 1.1.4
Overview
Parameterized get_commit_message
when running build-perspective-branch
command
Version 1.1.3
Overview
- Creates a custom merge message in the
build-perspective-branch
command combining the merge and the last commit
Bug Fixs
Update Docs
Updates the README.md to contain some new and updated documentation
Deprecate GitHub Basic Auth
GitHub deprecated basic auth which this orb was using. We now use OAuth Authentication provided by the ${GITHUB_TOKEN} environment variable set in the global environment variables or a context in CircleCI
More PR Info. More Slack controls.
This release is not backwards compatible as some commands have been cleaned up. Changes of note are as follows:
- Removes the
get-pr-number
andget-base-branch
commands, squashing them into a newget-pr-info
command which exposes the same environment variables, as well as some new ones. - Prettifies Slack notifications, adds additional context in the sent message, and adds options for how to find a PR author's associated Slack user ID.
Check out the orb page for full details!
Don't block PRs if no Slack user found
Sending Slack notifications for a PR author is a nice-to-have and can fail if:
- The author's
git config
isn't set appropriately - The author has set their commit email addresses to private
- Their Slack email address is an alias of their commit email address
- More
The change in this release won't block if no Slack user can be found for the PR's associated email address. This has the added benefit of making notifications more of an opt-in model as well.
General Release
Since I forgot to publish releases earlier.
New:
- Command to Slack PR authors, either directly or tagged in a channel, on success, failure, or always.
Updates:
- Refinements to documentation