Repository navigation
Fix dashboard on non-main default branches and README link placement
The dashboard now works on repositories with any default branch (master, main, develop, etc.), not just main. Additionally, the dashboard link is now prepended to the top of an existing README instead of appended to the end, so it appears prominently when users view the repository.
- Dashboard now detects the repository's actual default branch and fetches commits from it, fixing empty dashboards on repos with branches like 'master' or 'develop'.
- The README.md dashboard badge and link are now added to the top of existing files instead of the bottom, appearing prominently when users open the repository.
Consumers pinned at the major alias (e.g. @v2) receive this automatically.