Skip to content
Compare
Choose a tag to compare
@CasperWA CasperWA released this 17 Jan 10:32
· 99 commits to main since this release

Check user (PAT) permissions

The API call to check whether a branch is protected or not has been updated, and can be done with the lowest of permission rights, however, at the same time, if the branch is protected, it is checked whether the user (PAT) has "admin" permission, since this is the only level that allows toggling review-protected branches, as well as getting the information about which checks are currently running.

The README has been updated with information about these permissions needed for certain use cases.

Furthermore, a debug parameter has been added to toggle set -x in the entrypoint.sh script. This is only intended for debugging purposes.

Changelog

v2.9.0 (2022-01-17)

Full Changelog

Implemented enhancements:

  • Warn or error upon using token without proper rights #94
  • Add debug option #93

Closed issues:

  • Not clear which scope should I use to enable unprotect_reviews option #60

Merged pull requests:

* This Changelog was automatically generated by github_changelog_generator