From 755af12b422169aa4e7978a09ea0b53ee0a4d5b8 Mon Sep 17 00:00:00 2001 From: dignajar Date: Sun, 20 Sep 2026 08:57:44 +0200 Subject: [PATCH] fix: point report.yml at the moved render module Moving the scripts under .github left report.yml inserting 'scripts' on sys.path, so the render step died with ModuleNotFoundError and no comment or label was ever posted. The gate itself was unaffected, analyze.yml still ran and still decided pass or fail, but every pull request kept whatever label it had from the run before. Verified by running the render step against the report from the jodit pull request: errors=0, warnings=1, and the comment renders. --- .github/rules/reserved.json | 2 +- .github/workflows/report.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/rules/reserved.json b/.github/rules/reserved.json index 1fee7a9..3386134 100644 --- a/.github/rules/reserved.json +++ b/.github/rules/reserved.json @@ -1,5 +1,5 @@ { - "_comment": "Names already used by Bludit core. A plugin in the directory must not collide with any of these. Regenerate with scripts/refresh_reserved.py against a Bludit checkout.", + "_comment": "Names already used by Bludit core. A plugin in the directory must not collide with any of these. Regenerate with .github/scripts/refresh_reserved.py against a Bludit checkout.", "bluditVersion": "4.0.0-beta-1", "bundledPluginIds": [ "about", diff --git a/.github/workflows/report.yml b/.github/workflows/report.yml index 02d943e..7038eba 100644 --- a/.github/workflows/report.yml +++ b/.github/workflows/report.yml @@ -63,7 +63,7 @@ jobs: python3 - <<'PYTHON' > comment.md import glob, json, os, sys - sys.path.insert(0, 'scripts') + sys.path.insert(0, '.github/scripts') from render import render, MARKER reports = sorted(p for p in glob.glob('analyzer-report/*.json'))