Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for Inherited branch protection setting #268

Open
ParthaI opened this issue Jan 18, 2024 · 1 comment
Open

Add support for Inherited branch protection setting #268

ParthaI opened this issue Jan 18, 2024 · 1 comment

Comments

@ParthaI
Copy link

ParthaI commented Jan 18, 2024

Dear Team,

  • I am using the API BranchRestrictions.Gets to the branch restriction settings for a repository.
  • The above API only returns only the branch restriction settings on the repository level.
  • However, I would like to get the Inheritaed branch restriction setting details that flow down from the project level to the repository level, as shown below.

image

The API might help add support for the Inherited branch protection setting: Retrieve the inheritance state for repository settings

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant