Currently, GitHub only shows buttons on Checks pages to the users having write access to the repo. I’d like to propose an extension of this behavior.
At ansible, we’ve got a huge community where we rely on a bot to give certain individuals who maintain certain parts of the repo access to merge related things and more.
ACL logic is tightly bound to our project and we have own config/mapping for identifying who has access where so it’s not something which is ever going to be solved in the GitHub platform itself.
Currently, users have to post test commands via comments to trigger certain bot behaviors.
What I want is to give them a button for triggering things via UI instead of (or additionally to) those text commands.
Check API action buttons seem to be a logical choice, except that users wouldn’t see them 😞
It would be nice if Checks API had an additional flag on per button basis, like acl_on: false, which would set GitHub’s own ACL checks to be bypassed and would show up for every user. Then, if a user were to click it, in the click handler we’d check the event sender against our own ACLs.
I hope this makes sense to you and you can see the benefits of such an approach as I do…
Have a nice day