How to turn off GitHub Actions for a repo? #25591
-
Looking through the GitHub Actions info for some of my repos, it appears to be completely irrelevant to most of them. Unfortunately, there doesn’t seem to be an obvious way to turn it off (eg in Settings), and keywords like “disable” have no matches when searching the help docs. How can Actions be turned off for a repo, so the tab doesn’t even appear? Was expecting an option in Settings, like where the “Issues” checkbox and others are. |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments
-
If you go to “Settings” for the repository, there should be a entry on left hand menu for “Actions”. Click on that and select “Disable Actions for this repository”. That should turn off the Actions tab for you. |
Beta Was this translation helpful? Give feedback.
-
Thanks @andymckay, that works. :slight_smile: |
Beta Was this translation helpful? Give feedback.
-
Does anyone know the API endpoint for doing this programmatically? |
Beta Was this translation helpful? Give feedback.
If you go to “Settings” for the repository, there should be a entry on left hand menu for “Actions”. Click on that and select “Disable Actions for this repository”.
That should turn off the Actions tab for you.