diff --git a/src/web/gitCommit.ts b/src/web/gitCommit.ts index caa19f6..274d663 100644 --- a/src/web/gitCommit.ts +++ b/src/web/gitCommit.ts @@ -49,6 +49,14 @@ export default async function gitCommitPOST(app: Express) { return res.status(400).json({ error: "Invalid push payload" }); } + // ignore release by actions + if (ref.startsWith("refs/tags/")) { + return res.status(200).json({ + success: true, + message: "Tag push ignored", + }); + } + // Build commit list (max X) const SHOW_MAX = 5; const commitLines = commits.slice(0, SHOW_MAX).map((c: any) => {