ci: add CI pipeline with linting, tests, secrets scan, and Dependabot#397
Open
LewallenAE wants to merge 6 commits intonlweb-ai:mainfrom
Open
ci: add CI pipeline with linting, tests, secrets scan, and Dependabot#397LewallenAE wants to merge 6 commits intonlweb-ai:mainfrom
LewallenAE wants to merge 6 commits intonlweb-ai:mainfrom
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
This PR adds a comprehensive CI/CD pipeline to the NLWeb project, addressing the gap mentioned in the README. The implementation includes automated linting, testing, security scanning, and dependency management through GitHub Actions.
Changes:
- Added CI workflow with linting (Ruff), type checking (mypy), testing across Python 3.10-3.12, secrets scanning (Gitleaks), and Docker build validation
- Configured Dependabot for automated weekly dependency updates for Python packages and GitHub Actions
- Added Ruff configuration file for consistent code formatting and linting rules
Reviewed changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated 12 comments.
| File | Description |
|---|---|
.github/workflows/ci.yml |
Defines the complete CI pipeline with jobs for linting, security scanning, matrix testing, and Docker build validation |
.github/dependabot.yml |
Configures automated dependency updates for pip and GitHub Actions with weekly schedules and grouped updates |
ruff.toml |
Establishes linting and formatting rules for the Python codebase with conservative initial configuration |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Author
|
@chelseacarter29 Ready for review! Fixed the ruff.toml configuration error and replaced gitleaks with TruffleHog (free alternative) to resolve the CI failures. |
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.
Adds automated CI pipeline as mentioned in the README ("CI/CD pipelines are not yet included. Contributions welcome.")
What's included
Files added
.github/workflows/ci.yml.github/dependabot.ymlruff.toml