-
Notifications
You must be signed in to change notification settings - Fork 11
chore(scopes): split and sync configuration schema #822
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore(scopes): split and sync configuration schema #822
Conversation
Merge ProtectionsYour pull request matches the following merge protections and will not be merged until they are valid. 🟢 🤖 Continuous IntegrationWonderful, this rule succeeded.
🟢 👀 Review RequirementsWonderful, this rule succeeded.
🟢 Enforce conventional commitWonderful, this rule succeeded.Make sure that we follow https://www.conventionalcommits.org/en/v1.0.0/
🟢 🔎 ReviewsWonderful, this rule succeeded.
|
There was a problem hiding this 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 refactors the scopes configuration code by extracting it from the CLI module into separate modules for better organization and maintainability. The changes split configuration schema definitions into dedicated files to enable CI synchronization from the engine.
- Extracts configuration schema classes into dedicated modules
- Updates imports and references throughout the codebase
- Maintains existing functionality while improving code organization
Reviewed Changes
Copilot reviewed 4 out of 4 changed files in this pull request and generated 2 comments.
| File | Description |
|---|---|
| mergify_cli/ci/scopes/config/scopes.py | Defines core scope configuration schema with enhanced documentation |
| mergify_cli/ci/scopes/config/root.py | Contains main Config class and YAML loading functionality |
| mergify_cli/ci/scopes/config/init.py | Exports all configuration classes and handles imports |
| mergify_cli/ci/scopes/cli.py | Updates imports to use new config module structure |
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
30ed559 to
1f4c36d
Compare
1f4c36d to
3e00797
Compare
🧪 CI InsightsHere's what we observed from your CI run for 1e9b576. 🟢 All jobs passed!But CI Insights is watching 👀 |
This changes split the configuration codes and sync it from the engine. This will allow to build a CI job to sync the ci/scopes/config/scopes.py file. Change-Id: Ib976077362efebc9f3d1548e48cbad370372ecd3
3e00797 to
1e9b576
Compare
This changes split the configuration codes and sync it from the engine.
This will allow to build a CI job to sync the ci/scopes/config/scopes.py file.