You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Forking an existing template, such as laravel's, will cause an error when spin tries to retrieve it.
This is because the api call to github to check the default branch will return "default_branch" multiple times at multiple levels, which causes "main" to be assigned multiple times to the "branch" variable.
Spin will then not be able to continue its installation process.
Expected Behavior
In /lib/functions.sh, the "github_default_branch" function should always make sure to only read the "default_branch" api response located at the root and not the others (e.g. "parent" referring to the project the fork came from).
Steps To Reproduce
Fork the base laravel template and try installing from there.
Activity