chore: remove Python from the repository tooling#5
Merged
mergify[bot] merged 1 commit intoJul 1, 2026
Merged
Conversation
The action's runtime is pure shell, but its dev/CI tooling still pulled in Python: a uv-run generate-doc.py for the README inputs table, and a pip-installed semgrep + yamllint in CI. Remove it all so the repo matches its own "No Python or toolchain is required" promise. - generate-doc.py is rewritten as pure bash + awk in generate-doc.sh: it parses action.yml and rewrites the inputs table between the AUTO-DOC-INPUT markers. Output is byte-identical to the previous generator (verified on both BSD awk and Ubuntu's mawk), so the autodoc drift check still passes. awk emits the finished Markdown rows directly, avoiding a TSV/`read` round-trip whose IFS-whitespace tab handling would have collapsed an empty Default column. - CI linters: drop actions/setup-python and `pip install semgrep yamllint`; run yamllint and semgrep from their pinned docker images, matching the existing actionlint step. semgrep sets an explicit entrypoint so a digest bump can't break the invocation. Renovate manages the tags + digests. - autodoc job: drop the uv setup step; it now runs the pure-bash script. No Python, uv, or pip remains in the repo. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> Change-Id: I82858ba068c90064336fe309a9c8996a9899dea8
Contributor
Merge Protections🟢 All 6 merge protections satisfied — ready to merge. Show 6 satisfied protections🟢 🤖 Continuous Integration
🟢 👀 Review Requirements
🟢 Enforce conventional commitMake sure that we follow https://www.conventionalcommits.org/en/v1.0.0/
🟢 🔎 Reviews
🟢 📕 PR description
🟢 🚦 Auto-queueWhen all merge protections are satisfied, this pull request will be queued automatically. |
sileht
approved these changes
Jun 29, 2026
kozlek
approved these changes
Jul 1, 2026
Contributor
Merge Queue Status
This pull request spent 28 seconds in the queue, including 3 seconds running CI. Required conditions to merge
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The action's runtime is pure shell, but its dev/CI tooling still pulled in
Python: a uv-run generate-doc.py for the README inputs table, and a
pip-installed semgrep + yamllint in CI. Remove it all so the repo matches its
own "No Python or toolchain is required" promise.
action.yml and rewrites the inputs table between the AUTO-DOC-INPUT markers.
Output is byte-identical to the previous generator (verified on both BSD awk
and Ubuntu's mawk), so the autodoc drift check still passes. awk emits the
finished Markdown rows directly, avoiding a TSV/
readround-trip whoseIFS-whitespace tab handling would have collapsed an empty Default column.
pip install semgrep yamllint; runyamllint and semgrep from their pinned docker images, matching the existing
actionlint step. semgrep sets an explicit entrypoint so a digest bump can't
break the invocation. Renovate manages the tags + digests.
No Python, uv, or pip remains in the repo.
Co-Authored-By: Claude Opus 4.8 (1M context) noreply@anthropic.com