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

fix(terraform): Fix wrong repo configuration #26

Merged
merged 2 commits into from
Jun 5, 2024

Conversation

jneo8
Copy link
Contributor

@jneo8 jneo8 commented Jun 4, 2024

  • For branch protection rule
    • Remove force_push_bypassers
    • Remove dismissal_restrictions
  • Add vulnerability_alerts=true for repo setting

@jneo8 jneo8 requested a review from a team as a code owner June 4, 2024 10:53
- For branch protection rule
  - Remove force_push_bypassers
  - Remove dismissal_restrictions
- Add vulnerability_alerts=true for repo setting
@jneo8 jneo8 force-pushed the fix/terraform-change-repo-settings branch from 969c5f7 to 8f050b6 Compare June 4, 2024 10:55
Copy link
Contributor

@Pjack Pjack left a comment

Choose a reason for hiding this comment

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

Thanks to adjust the configuration again based the doc

terraform-plans/main.tf Outdated Show resolved Hide resolved
@jneo8 jneo8 requested a review from Pjack June 5, 2024 02:55
Copy link
Contributor

@samuelallan72 samuelallan72 left a comment

Choose a reason for hiding this comment

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

LGTM

@jneo8 jneo8 merged commit 59d612c into main Jun 5, 2024
1 check passed
@chanchiwai-ray chanchiwai-ray deleted the fix/terraform-change-repo-settings branch June 5, 2024 06:44
@rgildein
Copy link
Contributor

rgildein commented Jun 5, 2024

FYI: Those settings were there to mimic what was possible before. Terraform will set "Do not allow bypassing the above settings ", so without any bypass even admin of repo should not do it.

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.

4 participants