Skip to content

chore: update cicd workflows#160

Merged
marcellodebernardi merged 17 commits intomainfrom
chore/update-cicd-workflows
Feb 5, 2026
Merged

chore: update cicd workflows#160
marcellodebernardi merged 17 commits intomainfrom
chore/update-cicd-workflows

Conversation

@marcellodebernardi
Copy link
Contributor

This PR updates the repository's continuous integration workflows in the following ways:

  1. Additional checks on PR (gitleaks, PR title, ensure pyproject.toml version bump, etc)
  2. Minor changes to linting rules
  3. Added a script we use to generate "code index" files that are very helpful for coding agents

Copilot AI review requested due to automatic review settings February 5, 2026 14:35
@greptile-apps
Copy link

greptile-apps bot commented Feb 5, 2026

Greptile Overview

Greptile Summary

This PR enhances the CI/CD pipeline with additional quality checks and automation:

  • Added version enforcement: New workflow and pre-commit hook ensure pyproject.toml version is bumped when plexe/ code changes (excluding auto-generated CODE_INDEX.md)
  • Added PR validation: Branch names must follow <type>/description pattern, PR titles must follow conventional commits format
  • Optimized linting: Split Black and Ruff into separate jobs, now run only on changed Python files for faster CI
  • Added security scanning: Integrated gitleaks to detect secrets in commits
  • Added code documentation: New script auto-generates CODE_INDEX.md files via pre-commit hook to help coding agents understand the codebase
  • Updated dependencies: Bumped Black (25.12.0) and Ruff (0.14.9), added docstring requirements (D100, D101)

All changes align with the PR description and support the goal of maintaining code quality and consistency. The version check workflow correctly excludes CODE_INDEX.md per the addressed feedback.

Confidence Score: 5/5

  • Safe to merge - well-structured CI/CD improvements with no functional code changes
  • All changes are infrastructure and tooling improvements with proper error handling, validation logic, and appropriate exclusions for auto-generated files
  • No files require special attention

Important Files Changed

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)

Copy link

@greptile-apps greptile-apps bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

5 files reviewed, 3 comments

Edit Code Review Agent Settings | Greptile

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

@marcellodebernardi
Copy link
Contributor Author

@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>
@marcellodebernardi
Copy link
Contributor Author

@greptileai review again with latest changes

@marcellodebernardi marcellodebernardi merged commit 527fdc7 into main Feb 5, 2026
13 checks passed
@marcellodebernardi marcellodebernardi deleted the chore/update-cicd-workflows branch February 5, 2026 15:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant