… you may want to make exceptions to this rule for specific people and teams. For example, if you have an automated process that calls GitHub APIs to make changes in a repository, you may want to permit that automation to make changes without creating a pull request.
@theBeginner86@Ripul.Handoo@Lee So we have 2 - 3 ish options to choose from (this probably applies to both build-and-release-edge.yml and build-and-release-stable.yml but we’d only see stable one fail when REST API Docs or GraphQL API Docs have changes when these workflows are triggered):
Optionally, to allow specific actors to push code to the branch without creating pull requests when they’re required, select Allow specified actors to bypass required pull requests. Then, search for and select the actors who should be allowed to skip creating a pull request.
Similar to #1, but instead of allow specific actors to bypass required pull requests we follow Step 16 of guide mentioned above to choose the admin/robot account in “Rules applied to everyone including administrators” > “Allow force pushes” branch protection setting AND add the push_options: '--force' argument to the “commit changes” github action
Optionally, under “Rules applied to everyone including administrators”, select Allow force pushes .