nixbot

builds
1this derivation will be built:2 /nix/store/hip3rd4fm06jpf9xpar7w08yxfbf1661-treefmt-check.drv3error: build of '/nix/store/hip3rd4fm06jpf9xpar7w08yxfbf1661-treefmt-check.drv' on 'ssh-ng://customer@mac02' failed: Cannot build '/nix/store/hip3rd4fm06jpf9xpar7w08yxfbf1661-treefmt-check.drv'.4 Reason: builder failed with exit code 1.5 Output paths:6 /nix/store/vryx6ximhryiwsia9i6lwq964f6w2d67-treefmt-check7 Last 25 log lines:8 > https://<nixbot-host>/badge/<token>.svg9 > ```10 > 11 > -Both report the default branch unless `?branch=<name>` is added. Embed the public12 > -badge with:13 > +Both report the default branch unless `?branch=<name>` is added. Embed the14 > +public badge with:15 > 16 > ```markdown17 > [![nixbot](https://<nixbot-host>/badge/<token>.svg)](https://<nixbot-host>/repos/<forge>/<owner>/<repo>)18 > diff --git a/nixbot/nixbot/web/app.py b/nixbot/nixbot/web/app.py19 > index e95fd05..e33f5e7 10064420 > --- a/nixbot/nixbot/web/app.py21 > +++ b/nixbot/nixbot/web/app.py22 > @@ -392,9 +392,7 @@ class _PageRoutes:23 > repository_badge_markdown=self._badge_markdown(24 > request, project, public=False25 > ),26 > - public_badge_markdown=self._badge_markdown(27 > - request, project, public=True28 > - ),29 > + public_badge_markdown=self._badge_markdown(request, project, public=True),30 > )31 > 32 > def _badge_markdown(33 For full logs, run:34 nix log /nix/store/hip3rd4fm06jpf9xpar7w08yxfbf1661-treefmt-check.drv35error: Cannot build '/nix/store/hip3rd4fm06jpf9xpar7w08yxfbf1661-treefmt-check.drv'.36 Reason: builder failed with exit code 1.37 Output paths:38 /nix/store/vryx6ximhryiwsia9i6lwq964f6w2d67-treefmt-check