feat: add github_repository_rulesets data source#3495
Open
slymanmrcan wants to merge 1 commit into
Open
Conversation
|
👋 Hi, and thank you for this contribution! This repo is maintained by GitHub and community members on a best-effort basis. We'll get to this as soon as we can. You can help us prioritize by joining the discussion on open issues and PRs, sharing details on the changes you need, and reviewing other contributions. 🤖 This is an automated message. |
9dd260f to
02c5e39
Compare
02c5e39 to
0ee2ff0
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Resolves #2563
Before the change?
The provider had a
github_repository_rulesetresource, but there was no data source to:After the change?
github_repository_rulesetdata source for fetching a single ruleset by IDgithub_repository_rulesetsdata source for listing all rulesets for a repositoryPull request checklist
Does this introduce a breaking change?
Please see our docs on breaking changes to help!
Note on AI Usage
AI coding assistants were used to help draft the initial code structure for both data sources. I have personally reviewed, understood, and tested all changes including: