fix: add PYTHONPATH to workflow for cross-module imports (#119)
Scripts use 'from scripts.topic_paths import ...' which requires the repo root in sys.path. Setting PYTHONPATH at workflow level ensures all python invocations can resolve these imports. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Juan Manuel Servera committed
May 19, 2026 at 17:14 UTC
d52703ea6dc8b7e56065011efc7bf4d8a3c798f7
1 file changed
+3
.github/workflows/crawl-and-publish.yml
+3
@@ -19,6 +19,9 @@ concurrency:
19
group: weekly-crawl
20
cancel-in-progress: false
21
22
+env:
23
+ PYTHONPATH: ${{ github.workspace }}
24
+
25
jobs:
26
crawl:
27
runs-on: ubuntu-latest