Expose PR Reviewer information in Push Policy Payload

I’d love to be able to make policy decisions based on which users approved a given PR.

The use-case is that we want to make an approval policy which requires someone OTHER THAN the PR approver to approve the Run.

Workaround
Hacky, but perhaps having a github action add a bunch of tags to the PR. eg: approved_by:user1, approved_by:user2 .. its messy though and adds a gross list of tags to the available tags list in github
Problem
The use-case is that we want to make an approval policy which requires someone OTHER THAN the PR approver to approve the Run. For that, we need to access a list of the github usernames which approved the PR into Rego somehow ..

Please authenticate to join the conversation.

Upvoters
Status

🔭 Discovery

Board

💡 Feature Requests

Tags

Policies

Date

12 months ago

Subscribe to post

Get notified by email when there are changes.