From e0ae01e36e6f44b41410b968b9eec6b5d9525539 Mon Sep 17 00:00:00 2001 From: emil Date: Sun, 21 Jun 2026 20:50:14 +0000 Subject: [PATCH] GRM-38: fix: set PYTHONPATH=. for release.py to find scripts.ci module (#32) --- .gitea/workflows/ci.yml | 2 +- .gitea/workflows/release.yml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index a14a36c..c7e00fd 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -54,7 +54,7 @@ jobs: - name: Release dry-run validation run: | . .venv/bin/activate - PYTHONPATH=src python3 scripts/ci/release.py --dry-run || true + PYTHONPATH=. python3 scripts/ci/release.py --dry-run || true detect-changes: runs-on: docker diff --git a/.gitea/workflows/release.yml b/.gitea/workflows/release.yml index fc37b9e..d437267 100644 --- a/.gitea/workflows/release.yml +++ b/.gitea/workflows/release.yml @@ -31,7 +31,7 @@ jobs: git config user.email "grm-ci-bot@oblachno.fyi" - name: Run release env: - PYTHONPATH: src + PYTHONPATH: . run: | . .venv/bin/activate python3 scripts/ci/release.py @@ -39,7 +39,7 @@ jobs: if: failure() env: REPO_TOKEN: ${{ secrets.REPO_TOKEN }} - PYTHONPATH: src + PYTHONPATH: . run: | . .venv/bin/activate python3 scripts/ci/notify_failure.py \