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

[BUG]: cannot set empty status checks in github_branch_protection_v3 #2261

Open
1 task done
ljw4010 opened this issue May 14, 2024 · 1 comment
Open
1 task done
Labels
Status: Triage This is being looked at and prioritized Type: Bug Something isn't working as documented

Comments

@ljw4010
Copy link

ljw4010 commented May 14, 2024

Expected Behavior

  required_status_checks {
    strict   = true
  }

this configuration can work fine

Actual Behavior

got issues:


│ No subschema in "anyOf" matched.
│ No subschema in "oneOf" matched.
│ Not all subschemas of "allOf" matched.
│ For 'anyOf/1', {"strict"=>true} is not a null. []
│ 
│   with github_branch_protection_v3.create_peotection_rules["master"],

Terraform Version

Terraform: v1.8.0

Affected Resource(s)

github_branch_protection_v3

Terraform Configuration Files

required_status_checks {
    strict   = true
  }

Steps to Reproduce


│ No subschema in "anyOf" matched.
│ No subschema in "oneOf" matched.
│ Not all subschemas of "allOf" matched.
│ For 'anyOf/1', {"strict"=>true} is not a null. []
│ 
│   with github_branch_protection_v3.create_peotection_rules["master"],

Debug Output

No response

Panic Output

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct
@ljw4010 ljw4010 added Status: Triage This is being looked at and prioritized Type: Bug Something isn't working as documented labels May 14, 2024
@ljw4010
Copy link
Author

ljw4010 commented May 14, 2024

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: Triage This is being looked at and prioritized Type: Bug Something isn't working as documented
Projects
None yet
Development

No branches or pull requests

1 participant