Conversation
Greptile OverviewGreptile SummaryThis PR enhances the CI/CD pipeline with additional quality checks and automation:
All changes align with the PR description and support the goal of maintaining code quality and consistency. The version check workflow correctly excludes Confidence Score: 5/5
|
| Filename | Overview |
|---|---|
| .github/workflows/integration.yml | Split linting into separate jobs, added branch/PR title validation, optimized to run only on changed files |
| .github/workflows/version-check.yml | New workflow to enforce version bumps when plexe/ code changes, excluding CODE_INDEX.md |
| .pre-commit-config.yaml | Updated tool versions, added gitleaks for secret scanning, and auto-generation of CODE_INDEX.md files |
| scripts/generate_code_index.py | New script to auto-generate CODE_INDEX.md documentation from Python code using AST parsing |
| pyproject.toml | Updated black and ruff versions, added docstring linting rules (D100, D101) |
There was a problem hiding this comment.
Pull request overview
This PR updates the repository's continuous integration and development workflows with enhanced quality checks, automated code indexing for AI coding agents, and version management enforcement.
Changes:
- Added automated code index generation script that creates documentation from Python AST for AI agent consumption
- Implemented version bump enforcement to ensure pyproject.toml version is incremented when plexe/ changes
- Enhanced CI/CD with PR validation (branch naming, PR title conventions), gitleaks security scanning, and version validation on releases
- Updated linting tool versions and added docstring requirement rules
Reviewed changes
Copilot reviewed 10 out of 11 changed files in this pull request and generated 6 comments.
Show a summary per file
| File | Description |
|---|---|
| scripts/generate_code_index.py | New script to generate CODE_INDEX.md files from Python AST for AI coding agents |
| scripts/check_version_bump.py | New script to enforce version bumps when plexe/ code changes |
| scripts/dumpcode.py | Removed legacy code dumping script (replaced by code index generation) |
| tests/CODE_INDEX.md | Generated code index for test suite (auto-generated documentation) |
| plexe/CODE_INDEX.md | Generated code index for main package (auto-generated documentation) |
| .pre-commit-config.yaml | Updated tool versions and added version check, code index generation, and gitleaks hooks |
| .github/workflows/version-check.yml | New workflow to verify version bumps on PRs affecting plexe/ |
| .github/workflows/publish.yml | Added version validation to ensure release tag matches pyproject.toml |
| .github/workflows/integration.yml | Added branch name and PR title validation checks |
| pyproject.toml | Updated black and ruff versions, added docstring linting rules |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
|
@greptileai review again with latest changes |
…n permissions Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
|
@greptileai review again with latest changes |
This PR updates the repository's continuous integration workflows in the following ways:
pyproject.tomlversion bump, etc)