Kristoffer
10/27/2024, 2:27 PMErik Osterman (Cloud Posse)
10/28/2024, 2:18 AMErik Osterman (Cloud Posse)
10/28/2024, 2:18 AMErik Osterman (Cloud Posse)
10/28/2024, 2:19 AMErik Osterman (Cloud Posse)
10/28/2024, 2:19 AMErik Osterman (Cloud Posse)
10/28/2024, 2:20 AMKristoffer
10/28/2024, 11:47 AMErik Osterman (Cloud Posse)
10/28/2024, 3:10 PMBut as it is, Github Actions wants review whenever any stupid job is run within an environment with Required Approvers, so I created a "auto-approve" action and want to authenticate with my GitHub AppThe "an environment with Required Approvers" can be bypassed with a ruleset. But you need to replace your old branch protections with new rulesets.
Kristoffer
10/28/2024, 8:25 PMErik Osterman (Cloud Posse)
10/28/2024, 9:13 PMErik Osterman (Cloud Posse)
10/28/2024, 9:13 PMErik Osterman (Cloud Posse)
10/28/2024, 9:15 PMErik Osterman (Cloud Posse)
10/28/2024, 9:15 PMErik Osterman (Cloud Posse)
10/28/2024, 9:15 PMErik Osterman (Cloud Posse)
10/28/2024, 9:16 PMErik Osterman (Cloud Posse)
10/28/2024, 9:16 PMErik Osterman (Cloud Posse)
10/28/2024, 9:17 PMIn environment "prod" I have a deployment protection rule, requiring 1 review to approve workflow run.
I have two workflows: plan.yaml and apply.yaml :
plan.yaml requires access to "prod" environment secrets, but should be able to run without approval, while apply.yaml should require approval.Sorry, I was solving how to do it with Pull Requests, not environment protection rules.
Erik Osterman (Cloud Posse)
10/28/2024, 9:20 PMKristoffer
10/29/2024, 9:40 AMErik Osterman (Cloud Posse)
10/29/2024, 11:05 AMErik Osterman (Cloud Posse)
10/29/2024, 11:05 AMKristoffer
10/29/2024, 10:52 PM