Slackbot
11/22/2023, 2:04 PMEd
11/22/2023, 2:10 PMg.client.Repositories.GetBranchProtection
https://github.com/runatlantis/atlantis/blob/6ff0e2f90e5aa70fc76d8498eeec745306697a7b/server/events/vcs/github_client.go#L417RB
11/22/2023, 2:32 PMRB
11/22/2023, 2:34 PMEd
11/22/2023, 2:39 PMStas Ostrovskyi
11/22/2023, 3:21 PM--gh-allow-mergeable-bypass-apply is tightly coupled with branch protection API. On other hand, GitHub lacks an API to check whether user or an app are allowed to merge PR with regards to bypass list which makes it currently impossible to require atlantis/apply via rulesets 😞Stas Ostrovskyi
11/22/2023, 3:23 PM