Skip to content

Conversation

@fernandosantos-br
Copy link
Collaborator

No description provided.

…d requirements, including new GitInfo class, updated Python version requirement, and enhanced CLI options for analyzing changed files in monorepos.
Copilot AI review requested due to automatic review settings July 24, 2025 14:38
Copy link

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 documentation for CodeQL Wrapper to reflect recent changes and improvements to the tool. The updates include raising the minimum Python version requirement, adding new CLI features, and providing more comprehensive CI/CD integration examples.

  • Updated minimum Python version requirement from 3.8.1 to 3.9 across all documentation
  • Added new CLI parameters and features including --only-changed-files, --max-workers, --build-mode, --build-script, and --queries
  • Enhanced CI/CD integration documentation with working examples and updated pipeline configurations for GitHub Actions, Harness, Azure DevOps, and CircleCI

Reviewed Changes

Copilot reviewed 5 out of 5 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
docs/docs/intro.md Updated Python version requirement and added trailing newlines
docs/docs/installation.md Updated Python version requirements and removed tests/ from linting command
docs/docs/cli-usage.md Added new CLI parameters, updated upload-sarif command signature, and added Kotlin language support
docs/docs/cicd-integration.md Major updates to CI/CD examples with working implementations and simplified command syntax
docs/docs/api.md Updated API documentation with new classes, parameters, and examples reflecting recent code changes


# Linting
poetry run flake8 src/ tests/
poetry run flake8 src/
Copy link

Copilot AI Jul 24, 2025

Choose a reason for hiding this comment

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

The removal of 'tests/' from the flake8 command should be explained or justified. If tests are no longer being linted, this could impact code quality. Consider adding a comment explaining why tests are excluded or if this should be a separate command.

Suggested change
poetry run flake8 src/
poetry run flake8 src/ tests/

Copilot uses AI. Check for mistakes.
codeql-wrapper analyze /path/to/monorepo --monorepo --only-changed-files

# Analyze with a custom build script and specific queries
codeql-wrapper analyze /path/to/monorepo --monorepo --build-script ./build.sh --queries security-and-quality,my-custom-queries
Copy link

Copilot AI Jul 24, 2025

Choose a reason for hiding this comment

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

The example shows 'security-and-quality,my-custom-queries' as query values, but it's unclear if these are actual valid query suite names or just examples. Consider using more concrete examples of actual CodeQL query suites or clarify that these are placeholder values.

Suggested change
codeql-wrapper analyze /path/to/monorepo --monorepo --build-script ./build.sh --queries security-and-quality,my-custom-queries
codeql-wrapper analyze /path/to/monorepo --monorepo --build-script ./build.sh --queries codeql-suites/javascript-security-and-quality.qls,codeql-suites/cpp-security-and-quality.qls

Copilot uses AI. Check for mistakes.
@fernandosantos-br fernandosantos-br merged commit ea50799 into main Jul 24, 2025
2 checks passed
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.

3 participants