terraform-provider-github icon indicating copy to clipboard operation
terraform-provider-github copied to clipboard

[BUG]: apply on rulesets' bypassers return 200 API side but not applied

Open bcaurel opened this issue 2 months ago • 1 comments

Expected Behavior

Apply on rulesets' bypassers return 200 API side adn is really applied

Actual Behavior

[BUG]: apply on rulesets' bypassers return 200 API side but not applied

github.route : /organizations/:organization_id/rulesets/:ruleset_id github.request_method : PUT github.request_body : ruleset without any bypassers github.status_code : 200

But the ruleset is not modified causing a drift (and a security issue depending of the bypassers associated)

Terraform Version

Terraform v1.11.2 integrations/github 6.6.0

Affected Resource(s)

github_organization_ruleset (with bypass_actors)

Terraform Configuration Files

NA

Steps to Reproduce

NA But I can share the API calls IDs associated

Debug Output

NA

Panic Output

NA

Code of Conduct

  • [x] I agree to follow this project's Code of Conduct

bcaurel avatar Oct 20 '25 13:10 bcaurel

Hey @bcaurel 👋

Thanks for flagging this! Could you verify if this is still an issue? And if it is, we'd love it if you can share a reproducible code sample so that we can verify any fix :)

deiga avatar Dec 07 '25 22:12 deiga