You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHubβs verified signature.
π Enhancements
Fix Teams Order of Operations Dan Miller (@milldr) (#13)
## what
- Add dependency on repository collaborators resource
why
The teams must be created for the repositories before creating environment protections rules that require reviewers (teams)
references
β Error: PUT https://api.github.com/repos/acme/my-bar-app/environments/prod: 422 Failed to create or update the environment protection rule. Required reviewers must have at least one reviewer to set prevent_self_review. []
β
β with module.repository.github_repository_environment.default["prod"],
β on .terraform/modules/repository/main.tf line 158, in resource "github_repository_environment""default":
β 158: resource "github_repository_environment""default" {
β
β΅