github palantir/policy-bot v1.36.0

one month ago

Add the no_changed_files predicate (#756)

The no_changed_files predicate is the negation of the changed_files predicate and allows users to write rules that apply when files are not changed. Contributed by @erikburt.

Add the has_status predicate (#789)

The new has_status predicate replaces has_successful_status (which is now deprecated) and allows matching conclusions other than success. This is most useful to write rules that also accept skipped and neutral statuses from check runs. Contributed by @iainlane.

Add the has_workflow_result predicate (#794)

The has_workflow_result predicate is similar to has_status, but matches on the result of a full GitHub Actions workflow. This can be preferable to matching on check runs for workflows that have top-level conditions or for workflows that have many jobs. Contributed by @iainlane.

Fixes

  • Fix an issue where Policy Bot could incorrectly detect other statuses as its own (#801)
  • Avoid trying to load check run results from other repositories (#807 by @iainlane)
  • The base path from the server's public URL is now included in OAuth2 redirect URLs (#806)
  • Fix an issue where Policy Bot could use out-of-date check run results in evaluation (#823)

Other Changes

  • Server administrators can now disable shared policy lookups (#812 by @iainlane)
  • Avoid unnecessary GitHub API requests for rules that do not require approval (#808 by @iainlane)
  • Update dependencies and build tools

Full Changelog: v1.35.0...v1.36.0

Don't miss a new policy-bot release

NewReleases is sending notifications on new releases.