mirror of
https://github.com/iv-org/invidious.git
synced 2026-09-06 09:02:45 -05:00
The build job had no branch condition and tagged :latest on every run. A workflow_dispatch on a work branch would therefore publish that branch to ghcr.io, and Watchtower would deploy it to production the same night. With the guard, a dispatch on a work branch runs the test job alone — crystal spec plus the warning-clean build — on a GitHub runner. That is how this branch gets type-checked: the compiler needs more memory than LXC 108 has. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>