Releases: palantir/policy-bot
1.4.0
Use GraphQL for some API operations (#37)
To access additional information, policy-bot
now uses GitHub's v4 GraphQL API. As a result, the v4_api_url
configuration option is required.
Add the ability to ignore update merges (#39)
If the ignore_update_merges
option is true
, any merge commit that was (1) created via the web UI or API and (2) includes changes from the target branch is ignored for the purpose of the computing contributors and evaluating the invalidate_on_push
option. This means you can use the "Update branch" button in the GitHub UI without invalidating existing approval. See the README for more information about this feature.
Fixes
- Use push time instead of commit time when evaluating the
invalidate_on_push
option (#37) - Correctly update statuses after a GitHub review is dismissed (#38)
Other Changes
1.3.2
Prevent users from approving a change multiple times (#35)
Prior to this, a single user could satisfy a policy that required more than one approval. Now, only the most recent event from each user is considered when computing approval.
Other Changes
- Make Datadog configuration optional (#26)
- Improve README
1.3.1
1.3.0
Improved Status Check Context
This release is mainly focused on modifying the context value used for the status check. Originally it was the same value for all PRs. To improve policy-bot
's ability to protect branches, we've changed the default behavior to produce a context using the following template: <configured-context>: <target-branch-of-pr>
. For example, if the PR is targeting the master
branch, the context would be: policy-bot: master
.
You can still use the legacy context by turning on the config flag post_insecure_status_checks
. For more information, see the godoc.
Other Changes
- Publish
snapshot
Docker images (#6) - Improve README
1.2.0
Initial open source release! 🎉