Add remote commit check to container-build-and-release

Queries the Forgejo API to verify the target commit exists on the remote
before dispatching a build, preventing wasted CI runs on unpushed commits.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Erich Blume 2026-04-18 08:03:21 -07:00
commit 4dab6d11bb
2 changed files with 13 additions and 0 deletions

View file

@ -0,0 +1 @@
container-build-and-release now verifies the commit exists on the remote before dispatching a build.