Default manual image builds to dev-<commit> when no tag is given
Checks / web (push) Failing after 19s
Private ROM checks / private-rom (push) Failing after 1m39s

A manual run with an empty tag input failed validation. It now uses the
checked-out commit's short SHA, and the workflow input is optional.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
kawaandClaude Sonnet 5.5 committed 2026-10-18 01:15:14 +02:00
1 parent b33725adfa
commit 727f5b0261
2 files changed
+4 -4

No files matched your search

+1 -1
View File
@@ -9,7 +9,7 @@ export function imagePublication({ event, ref, inputTag, revision }) {
let tag, channel;
if (event === "workflow_dispatch") {
tag = inputTag ?? "";
tag = inputTag || `dev-${revision.slice(0, 7)}`;
const commit = /^dev-([0-9a-f]{7,40})$/.exec(tag)?.[1];
if (!commit || tag !== tag.trim())
throw new Error(