Closed kwaremburg360 closed 9 months ago
Did you get it working off a different branch? I would also like to know the reason for this limitation.
You can actually override the default branch with one of the inputs to the GHA.
- uses: balena-io/deploy-to-balena-action@master
id: build
with:
default_branch: ${{ github.ref_name }}
See the README.md for more details. https://github.com/balena-io/deploy-to-balena-action/blob/master/README.md
We've discovered that builds fail if you try to trigger it not from the default branch of the repo. We found the check and can fork and then remove it but we'd like to understand why this check was imposed in the first place.
We'd like to be able to build from develop or master branches.