From b2109e7937435333ad996cadf6348cf81472b5bd Mon Sep 17 00:00:00 2001 From: Michael Czechowski Date: Mon, 4 May 2026 23:49:06 +0200 Subject: [PATCH] fix(ci): move build-template.yml out of .gitea/workflows/ MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The file was a copy-paste template for libreshop component repos but lived in .gitea/workflows/ — so Gitea auto-ran it against this repo on every push, failing because there is no Dockerfile here. Every push to main has been red since the template was committed. Move to examples/ and document why it cannot live in .gitea/workflows/. --- {.gitea/workflows => examples}/build-template.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) rename {.gitea/workflows => examples}/build-template.yml (77%) diff --git a/.gitea/workflows/build-template.yml b/examples/build-template.yml similarity index 77% rename from .gitea/workflows/build-template.yml rename to examples/build-template.yml index 39a4bbd..7a0d3b6 100644 --- a/.gitea/workflows/build-template.yml +++ b/examples/build-template.yml @@ -1,7 +1,9 @@ # Example build.yml for a libreshop component repo. -# Copy to .gitea/workflows/build.yml and remove the "on:" override below. +# Copy to .gitea/workflows/build.yml in the consuming repo. # -# Replace the existing multi-step build.yml with these ~20 lines. +# Lives outside .gitea/workflows/ on purpose — Gitea would auto-run it +# here against this repo (which has no Dockerfile) and the build would +# fail every time. name: build