shameless plug incoming; In my weekend adventures ...
# github-actions
p
shameless plug incoming; In my weekend adventures and or late week days I created : https://github.com/jamengual/enterprise-approval-engine I have released it to Github Marketplace give it a test, give feedback, ⭐ the repo if you like it and or request features. you can see it in action here: https://github.com/jamengual/enterprise-approval-engine/issues/7
party parrot 1
e
Does this work with github environment protections
p
this are totally separated capabilities but I will say you do not need Env protections if you use this
but you can do both if you want but your users might hate you , since they require to approve two things...
I worked on a app that can do environment protection rules but the Github api is soo limited, that I abandoned the idea
e
> I worked on a app that can do environment protection rules but the Github api is soo limited Interesting... yea, this is what I wanted to try. Was hoping this would be possible to create more advanced deployment approval gates
p
well, one thing that my action does that no other one do ( after extensive POC and research) is AND/OR logic of approvals, which is pretty much mandatory in Enterprise
you can still gate the deployment using a issue event check instead of the Environment approval gate
e
p
interesting, I remember seen this but at the time , doing this at the status check sounded weird to me since since my app is for the deployment side of things where status checks are not available anymore
pretty cool for PRs
e
Ok, going to have to dig deeper on what you did here.
p
you can see the limitation of 30 day Env approvals ( we have customers that take longer than that to deploy)
e
Aha, using issue ops. Nice!
I would add a screenshot like this and it becomes immediately clear what the fundamental mechanism is
p
I can do that, I'm actually adding new diagrams as well
e
CleanShot 2025-12-22 at 16.25.19@2x.png
p
added