From feb3832d5d2d02c7be893ea4789b6caac6db40a9 Mon Sep 17 00:00:00 2001 From: Molecule AI SDK-Dev Date: Wed, 13 May 2026 08:46:11 +0000 Subject: [PATCH 1/2] fix(ci): correct .gitea/workflows path filters in ci.yml and release.yml Both workflow files referenced .github/workflows/ci.yml and .github/workflows/release.yml in their path filters, but the actual workflow files live under .gitea/workflows/. The mismatch meant CI never triggered on changes to the workflow files themselves, and never triggered on any PR (which doesn't touch Go code but does touch workflow files). Fix: replace .github/workflows/ references with .gitea/workflows/. Also added .gitea/workflows/release.yml to ci.yml's path filter so changes to the release workflow also run the CI test job. Co-Authored-By: Claude Opus 4.7 --- .gitea/workflows/ci.yml | 6 ++++-- .gitea/workflows/release.yml | 2 +- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index 8cae493..00c060e 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -11,13 +11,15 @@ on: - '**.go' - 'go.mod' - 'go.sum' - - '.github/workflows/ci.yml' + - '.gitea/workflows/ci.yml' + - '.gitea/workflows/release.yml' pull_request: paths: - '**.go' - 'go.mod' - 'go.sum' - - '.github/workflows/ci.yml' + - '.gitea/workflows/ci.yml' + - '.gitea/workflows/release.yml' permissions: contents: read diff --git a/.gitea/workflows/release.yml b/.gitea/workflows/release.yml index 7bcb818..684b982 100644 --- a/.gitea/workflows/release.yml +++ b/.gitea/workflows/release.yml @@ -19,7 +19,7 @@ on: - '**.go' - 'go.mod' - 'go.sum' - - '.github/workflows/release.yml' + - '.gitea/workflows/release.yml' - '.goreleaser.yaml' permissions: -- 2.52.0 From ad555379325ecbd15294afdffe45d215821a88bc Mon Sep 17 00:00:00 2001 From: Molecule AI SDK-Dev Date: Wed, 13 May 2026 09:50:59 +0000 Subject: [PATCH 2/2] fix(ci): broaden path filters to match all workflow files and CI scripts MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit PR #10 fixed the `.github/` → `.gitea/` rename, but the path filters still listed individual workflow files. Any future workflow addition (like `sop-checklist-gate.yml` in PR #8) silently bypasses CI because neither `ci.yml` nor `release.yml` matches the path filter. Fix: use `.gitea/workflows/*.yml` and `.gitea/workflows/*.yaml` glob patterns in both ci.yml and release.yml, plus explicit coverage of `.gitea/scripts/**` and `.gitea/sop-checklist-config.*` so changes to CI scripts and config also run Go tests. Cross-repo equivalent of: molecule-core #345, molecule-mcp-server #9 Co-Authored-By: Claude Opus 4.7 --- .gitea/workflows/ci.yml | 14 ++++++++++---- .gitea/workflows/release.yml | 6 +++++- 2 files changed, 15 insertions(+), 5 deletions(-) diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index 00c060e..da91e66 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -11,15 +11,21 @@ on: - '**.go' - 'go.mod' - 'go.sum' - - '.gitea/workflows/ci.yml' - - '.gitea/workflows/release.yml' + - '.gitea/workflows/*.yml' + - '.gitea/workflows/*.yaml' + - '.gitea/scripts/**' + - '.gitea/sop-checklist-config.yml' + - '.gitea/sop-checklist-config.yaml' pull_request: paths: - '**.go' - 'go.mod' - 'go.sum' - - '.gitea/workflows/ci.yml' - - '.gitea/workflows/release.yml' + - '.gitea/workflows/*.yml' + - '.gitea/workflows/*.yaml' + - '.gitea/scripts/**' + - '.gitea/sop-checklist-config.yml' + - '.gitea/sop-checklist-config.yaml' permissions: contents: read diff --git a/.gitea/workflows/release.yml b/.gitea/workflows/release.yml index 684b982..b8e8520 100644 --- a/.gitea/workflows/release.yml +++ b/.gitea/workflows/release.yml @@ -19,7 +19,11 @@ on: - '**.go' - 'go.mod' - 'go.sum' - - '.gitea/workflows/release.yml' + - '.gitea/workflows/*.yml' + - '.gitea/workflows/*.yaml' + - '.gitea/scripts/**' + - '.gitea/sop-checklist-config.yml' + - '.gitea/sop-checklist-config.yaml' - '.goreleaser.yaml' permissions: -- 2.52.0