Some GitHub repositories have GitHub Actions with helpful automation. Because actions are stored in the .github
folder within a codebase, they come over along with any forks that are created. In many cases, this could be really helpful, as you get a great level of automation out of the box.
However, when you fork the project in order to contribute back or for your own purposes, you don’t necessarily want those actions to run in your repository (such as attempting to publish releases).
To Turn Off GitHub Actions for a Forked Repository
- Open the repository.
- Click
Settings
. - In the left-hand navigation menu, click
Actions
.
You can then set your preferences to disable actions in the repository, or to only allow certain actions.
Happy ‘hubbing!
Leave a comment