Github Actions - Deployment Protection Rules - Avoid multiple approvals #102095
Unanswered
alecmadeira-itech
asked this question in
Actions
Replies: 2 comments 1 reply
This comment was marked as off-topic.
This comment was marked as off-topic.
-
Thanks for posting in the GitHub Community, @alecmadeira-itech ! We're happy you're here. You are more likely to get a useful response if you are posting your question in the applicable category, the Discussions category is solely related to conversations around the GitHub product Discussions. I've gone ahead and moved it for you. Good luck! |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Select Topic Area
Question
Body
Github Actions: On a workflow with multiple jobs, and with a "deployment protection rule", at the moment each job needs a separate approval. It causes issues when the workflow deploys to 2 different e.g. api backend and js frontend. So if by mistake only the api backend is approved, and the js frontend is not, the application breaks.
Is there a way that the "deployment protection rule" can be approved at the entire workflow level and all jobs inside the workflow run without approval.
Thanks in advance
Al
Beta Was this translation helpful? Give feedback.
All reactions