Workflow doesn't trigger on some branches #27018
-
I have a repository and workflow that is configured to do a build whenever there is a push to any branch:
And this works fine whenever I make a push to master or a feature branch. I also have branches prefixed with the string upstream/. I have a local system with a cron job to pull branches from an upstream repo, add this prefix, and then push them up to GitHub. However, the CI workflow never triggers for these pushes. Why is that? Perhaps workflows do not trigger when a push happens using a read/write deploy credential instead of a user credential? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
There is no .github/workflow/ directory on the upstream branches. Workflows for push or pull_request are read from the affected branch, and there aren’t any workflow definitions in the upstream branches. |
Beta Was this translation helpful? Give feedback.
There is no .github/workflow/ directory on the upstream branches. Workflows for push or pull_request are read from the affected branch, and there aren’t any workflow definitions in the upstream branches.