r/github • • 1d ago

Question Can’t enable workflow

i have tried changing my repo to public changing my email enabling various things and disabling them. sometimes i get access to the workflow menu and when i run my build.yml it sends me to workflow not enabled its a quite new repo so that might be the issue i might just be reading the docs wrong i dont know other posts lead to nothing

0 Upvotes

1 comment sorted by

1

u/GiggleSamurai 1d ago

Check Settings > Actions > General and make sure "Allow all actions and reusable workflows" is selected, and that build.yml sits in .github/workflows/ on your default branch. If you're starting it with the "Run workflow" button, the file also needs workflow_dispatch: under on:, otherwise that button won't appear.