I'm new to GraphQL and finding it hard to write the queries and mutations without the proper examples and documentation. Let's keep adding the examples
Solved! Go to Solution.
Any examples for graphQL createBranchProtectionRule ??
@pthrinathraj You can use graphiql explorer to explore more about GitHub V4.
See the below example to create a branch protection rule
You can check the output in the settings tab and clicking branches options in your repo.