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

[FEAT]: github_repository_ruleset datasource

Open jean-mercier-hivebrite opened this issue 11 months ago • 2 comments

Describe the need

There is a ressource github_repository_ruleset but there is no datasource to fetch all the existing ruleset of the repository

On the classic way to put branch protection, we have both the ressource and the datasource

  • the ressource github_branch_protection,
  • the datasource github_branch_protection_rules

Is it possible to add this datasource ?

Thanks

SDK Version

No response

API Version

No response

Relevant log output


Code of Conduct

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

jean-mercier-hivebrite avatar Feb 10 '25 13:02 jean-mercier-hivebrite

👋 Hey Friends, this issue has been automatically marked as stale because it has no recent activity. It will be closed if no further activity occurs. Please add the Status: Pinned label if you feel that this issue needs to remain open/active. Thank you for your contributions and help in keeping things tidy!

github-actions[bot] avatar Dec 06 '25 02:12 github-actions[bot]

Hey @jean-mercier-hivebrite

Thanks for adding this request! We're currently busy with finalising the v7 release and doing some foundational upgrades. Would you be willing to open a PR for this feature? :)

deiga avatar Dec 10 '25 08:12 deiga