integrations / integrations/terraform-provider-github

[FEAT]: github_repository_ruleset datasource

Open
#2,563 4 comments 5 reactions 0 assignees View on GitHub
New data source Type: Feature
Dominant language
Go
Stars
1.2k
Forks
1k
Avg merge
1d 14h
Merged PRs (30d)
8

Description

### 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

```shell

```

### Code of Conduct

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

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.