Can't only create workflow/actions from web page? #26607
-
I’m creating a cookiecutter template for pypakcage, and I’d like to setup CI using github actions. by doing similiar things I mean, I have created .github folder at local, and put a workflow script there, then push it to gihthub. Then I checked from github web page, the script(main.yml) is actually there, but the actions are not triggered. So the only way to enable github actions is to create it from web page? If you would like to help, these are extra info may help:
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
The workflow file in your repository has branch filters so it’ll only run for pushes or pull requests to |
Beta Was this translation helpful? Give feedback.
-
Works like a charm. after I change branch filte to [master, main], it worked. Thanks! |
Beta Was this translation helpful? Give feedback.
The workflow file in your repository has branch filters so it’ll only run for pushes or pull requests to
master
, but your default branch is calledmain
. You’ll have to adjust the branch filters to when you actually want it to run.