I'm creating a github actions workflow to execute buf generate and build stubs for a project. Locally, buf generate works completely fine and builds the correct stubs.
However, when executed in a docker container or a github actions workflow, I get the following error: Failure: failed to initialize module for directory "proto" listed in buf.work.yaml: branch is not main
I do not understand what this means and have had trouble finding any direction when giving a look around the internet. Any guidance?