Skip to content

Conversation

@sileht
Copy link
Member

@sileht sileht commented Oct 15, 2025

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.

Copilot AI review requested due to automatic review settings October 15, 2025 08:47
@mergify mergify bot had a problem deploying to Mergify Merge Protections October 15, 2025 08:47 Failure
@mergify
Copy link
Contributor

mergify bot commented Oct 15, 2025

Merge Protections

Your pull request matches the following merge protections and will not be merged until they are valid.

🟢 🤖 Continuous Integration

Wonderful, this rule succeeded.
  • all of:
    • check-success=test (macos-15)
    • check-success=test (ubuntu-24.04)
    • check-success=test (windows-2025)

🟢 👀 Review Requirements

Wonderful, this rule succeeded.
  • any of:
    • #approved-reviews-by>=2
    • author = dependabot[bot]
    • author = renovate[bot]

🟢 Enforce conventional commit

Wonderful, this rule succeeded.

Make sure that we follow https://www.conventionalcommits.org/en/v1.0.0/

  • title ~= ^(fix|feat|docs|style|refactor|perf|test|build|ci|chore|revert)(?:\(.+\))?:

🟢 🔎 Reviews

Wonderful, this rule succeeded.
  • #changes-requested-reviews-by = 0
  • #review-requested = 0
  • #review-threads-unresolved = 0

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 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.

@sileht sileht force-pushed the devs/sileht/cli2-other/Ib976077362efebc9f3d1548e48cbad370372ecd3 branch from 30ed559 to 1f4c36d Compare October 15, 2025 08:49
@mergify mergify bot had a problem deploying to Mergify Merge Protections October 15, 2025 08:49 Failure
@sileht sileht force-pushed the devs/sileht/cli2-other/Ib976077362efebc9f3d1548e48cbad370372ecd3 branch from 1f4c36d to 3e00797 Compare October 15, 2025 08:50
@mergify mergify bot had a problem deploying to Mergify Merge Protections October 15, 2025 08:51 Failure
@mergify
Copy link
Contributor

mergify bot commented Oct 15, 2025

🧪 CI Insights

Here'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
@sileht sileht force-pushed the devs/sileht/cli2-other/Ib976077362efebc9f3d1548e48cbad370372ecd3 branch from 3e00797 to 1e9b576 Compare October 15, 2025 08:55
@mergify mergify bot deployed to Mergify Merge Protections October 15, 2025 08:55 Active
@mergify mergify bot requested a review from a team October 15, 2025 08:58
@mergify mergify bot merged commit ac0f2cb into main Oct 15, 2025
8 checks passed
@mergify mergify bot deleted the devs/sileht/cli2-other/Ib976077362efebc9f3d1548e48cbad370372ecd3 branch October 15, 2025 12:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants