policy-bot
policy-bot copied to clipboard
Github branch protection enforces policy bot
Am i missing something or is this an issue?
I have branch protection on master and develop. In the policy bot I only want to enforce it on the master branch. So naturally in my policies I use
approval_rules:
- name: approvers
if:
targets_branch:
pattern: "^master$"
However, policy bot is still enforced on the develop branch