terraform-provider-github
terraform-provider-github copied to clipboard
feat: Add file path protection to rulesets
Resolves #2371
I have not been able to add tests as this feature is only available with paid plans. I will look to add tests that can be run when under an Enterprise when I am back in the office and have access to do this. Here is the doc that shows the push type rules are restricted.
Before the change?
- Rules could not be added to rulesets to protect pushes to specific files
After the change?
- rules can now be added to rulesets to prevent pushes to named files
Pull request checklist
- [ ] Tests for the changes have been added (for bug fixes / features)
- [x] 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
- [x] No