Github
GitHub is a code hosting and version control platform for developers to collaborate on software projects.
Website
Industry
Website
Share this article:

How to disable workflow permission to create or approve pull requests in a GitHub repository

Here is how to disable workflow permission to create or approve pull requests in a github repository

  1. First open the repository where you want to configure workflow permissions
  2. Next click on "Settings" tab in the top navigation menu
  3. In the sidebar menu, click on "Actions" option under Code and automation section
  4. Then click on "General" option in the expanded Actions submenu
  5. After that, scroll down to the "Workflow permissions" section on the page
  6. Then uncheck the "Allow GitHub Actions to create and approve pull requests" checkbox
  7. Finally click on "Save" button to apply the changes

Create your own interactive guide with Guideflow

Why should you disable workflow permission to create or approve pull requests in a GitHub repository

GitHub is a collaborative platform designed to streamline software development through version control.

By disabling workflow permissions to create or approve pull requests in a repository, repository administrators can maintain tighter control over the codebase, ensuring that only authorized personnel can make critical changes.

This feature is vital for maintaining code integrity and preventing unauthorized or unvetted changes, safeguarding project stability and fostering a more secure development environment.

Overall, implementing selective permissions enhances team productivity by minimizing potential disruptions.

Last update
April 10, 2026
Cursor MariaA cursor points to a button labeled "James."

Create your first demo in less than 30 seconds.