Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add feature can_admins_bypass for repo environments | fixed wait_timer issue for repo environments #2001

Merged

Conversation

scott-doyland-burrows
Copy link
Contributor

@scott-doyland-burrows scott-doyland-burrows commented Nov 4, 2023

For resource github_repository_environment

Resolves #1804
can_admins_bypass implemented

Resolves #1996
wait_timer issue fixed


Before the change?

can_admins_bypass was not implemented for repository environments.

wait_timer would not show a diff if updated outside of terraform.

After the change?

can_admins_bypass is implemented.

wait_timer correctly shows a diff if updated outside of terraform.
*

Pull request checklist

  • Tests for the changes have been added (for bug fixes / features)
  • Docs have been reviewed and added / updated if needed (for bug fixes / features)

Does this introduce a breaking change?

Please see our docs on breaking changes to help!

  • Yes
  • No

Copy link
Member

@kfcampbell kfcampbell left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for the explanation, and for contributing!

@kfcampbell kfcampbell merged commit 4cf3adb into integrations:main Nov 21, 2023
3 checks passed
avidspartan1 pushed a commit to avidspartan1/terraform-provider-github that referenced this pull request Feb 5, 2024
…r issue for repo environments (integrations#2001)

* fix environment wait timer so GitHub stays in line with terraform

* add abilty to use can_admins_bypass for environment protections

* update docs for repository environment can_admins_bypass

* refactored wait_timer code as the logic was broken in a previous commit for this PR

---------

Co-authored-by: Keegan Campbell <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[BUG]: github_repository_environment wait_timer [BUG]: Fix CanAdminsBypass to Environment
2 participants