fix(ci): add PYTHONPATH to workflow-lint job
Validators (Pushes and Pull Requests) / Database & Schema Validation (push) Failing after 6s
Validators (Pushes and Pull Requests) / UI & Storage Validation (push) Failing after 11s
Validators (Pushes and Pull Requests) / Core Validators & Database Setup (push) Failing after 15s
Validators (Pushes and Pull Requests) / Calibration & Performance (push) Has been skipped
Validators (Pushes and Pull Requests) / WBS & Audit Validations (push) Has been skipped
Validators (Pushes and Pull Requests) / .NET Contracts (push) Has been skipped
Validators (Pushes and Pull Requests) / Operational Report & Decision Packet (push) Has been skipped
Validators (Pushes and Pull Requests) / Security & Secrets (push) Successful in 8s
Validators (Pushes and Pull Requests) / CI Workflow Lint (push) Failing after 7s
Validators (Pushes and Pull Requests) / Notify PR Results (push) Has been skipped
Workflow Lint & Validation / Validate Secrets Contract (push) Successful in 7s
Workflow Lint & Validation / Lint All Workflow Files (push) Failing after 11s
Workflow Lint & Validation / Notify Lint Results (push) Failing after 0s

workflow-lint job installs pyyaml but didn't export PYTHONPATH,
causing ModuleNotFoundError: No module named 'yaml' when running
validate_gitea_ci_workflow_lint_v1.py

Add export to $GITHUB_ENV after installation.

Phase 0 Week 1: CI Baseline (Attempt 5)

Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
This commit is contained in:
2026-07-24 14:27:40 +09:00
parent e9512d5d4e
commit fbc18d5192
+1
View File
@@ -447,6 +447,7 @@ jobs:
mkdir -p "$PYTHON_DEPS" mkdir -p "$PYTHON_DEPS"
/usr/bin/python3 -m pip install --disable-pip-version-check --quiet \ /usr/bin/python3 -m pip install --disable-pip-version-check --quiet \
--target "$PYTHON_DEPS" pyyaml --target "$PYTHON_DEPS" pyyaml
echo "PYTHONPATH=$PYTHON_DEPS:${PYTHONPATH:-}" >> $GITHUB_ENV
echo "✓ Python dependencies installed" echo "✓ Python dependencies installed"
- name: Lint CI Workflow - name: Lint CI Workflow