Skip to content

ci(Mergify): configuration update#143

Merged
unclesp1d3r merged 1 commit intomainfrom
mergify/unclesp1d3r/I36325320ac5c4ee08589444dff0efeb878056b83
Mar 14, 2026
Merged

ci(Mergify): configuration update#143
unclesp1d3r merged 1 commit intomainfrom
mergify/unclesp1d3r/I36325320ac5c4ee08589444dff0efeb878056b83

Conversation

@unclesp1d3r
Copy link
Member

This change has been made by @unclesp1d3r from the Mergify workflow automation editor.

Signed-off-by: UncleSp1d3r <unclesp1d3r@evilbitlabs.io>
Copilot AI review requested due to automatic review settings March 14, 2026 08:28
@unclesp1d3r unclesp1d3r merged commit dc2577e into main Mar 14, 2026
14 of 18 checks passed
@unclesp1d3r unclesp1d3r deleted the mergify/unclesp1d3r/I36325320ac5c4ee08589444dff0efeb878056b83 branch March 14, 2026 08:28
@coderabbitai
Copy link
Contributor

coderabbitai bot commented Mar 14, 2026

Caution

Review failed

The pull request is closed.

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yml

Review profile: ASSERTIVE

Plan: Pro

Run ID: e44f6099-6dc3-45f9-836c-0b854f97bb67

📥 Commits

Reviewing files that changed from the base of the PR and between 2e446e7 and 70b5b6c.

📒 Files selected for processing (1)
  • .mergify.yml

Disabled knowledge base sources:

  • Linear integration is disabled

You can enable these sources in your CodeRabbit configuration.


📝 Walkthrough

Mergify Configuration Initialization

This PR introduces the initial .mergify.yml configuration file to establish automated PR management and merge workflows for the Stringy repository.

Architectural Impact

Merge Queue Architecture: Establishes a centralized merge queue system using Mergify's squash merge strategy. All PRs must pass a comprehensive CI gate consisting of:

  • Quality checks
  • Multi-version MSRV (Minimum Supported Rust Version) validation across 5 stability tiers
  • Cross-platform testing (Linux, macOS, Windows)
  • Code coverage verification

PR Workflow Automation: Implements four distinct PR processing rules with differentiated handling:

  1. Maintainer PRs: Fast-tracked to queue when labeled with lgtm
  2. Dependabot PRs: Auto-approved and queued (excluding release workflow changes)
  3. External PRs: Queued only after explicit maintainer approval
  4. Automatic sync: Keeps PRs updated with main branch changes

Merge Protection Enforcement:

  • Conventional Commit validation: Enforces commit message format (fix|feat|docs|style|refactor|perf|test|build|ci|chore|revert)(?:\(.+\))?: for all merges to main
  • CI gate enforcement: Prevents manual merge bypasses by requiring all checks in success conditions
  • Staleness prevention: Blocks merges for PRs more than 10 commits behind main branch

Governance and Semantics

The configuration establishes clear separation between contributor types (maintainers, bots, external) with appropriate approval workflows. The conventional commit enforcement ensures semantic consistency in commit history for future changelog generation and version management.

Walkthrough

Uncommented and enabled Tier 2 and Tier 3 PR processing rules in Mergify configuration, standardized YAML string literal quoting, refined author filter syntax in Tier 3 rules, and reformatted the conventional-commit title regex for clarity without altering validation logic.

Changes

Cohort / File(s) Summary
Mergify Configuration
.mergify.yml
Activated previously commented PR processing tiers (Tier 2, Tier 3); converted quoted check-success entries to unquoted YAML literals; corrected author filter syntax in Tier 3 rules; reformatted conventional-commit regex to multi-line indented form; removed unnecessary quoting in CI/PR-related sections.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~8 minutes

Suggested labels

enhancement

Poem

🔧 Tiers awaken from their slumber deep,
Mergify rules now vigil keep,
YAML quotes shed like winter frost,
Configuration gains, no logic lost! ✨

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch mergify/unclesp1d3r/I36325320ac5c4ee08589444dff0efeb878056b83
📝 Coding Plan
  • Generate coding plan for human review comments

Comment @coderabbitai help to get the list of available commands and usage tips.

@coderabbitai coderabbitai bot added the enhancement New feature or request label Mar 14, 2026
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

Updates the repository's Mergify configuration used to gate and queue merges into main, primarily by reformatting conditions and protections.

Changes:

  • Reformats queue rule CI merge_conditions entries (removes quoting/blank lines).
  • Reformats maintainer/external PR rule conditions (removes quoting, adjusts YAML formatting).
  • Reformats merge protections, including the conventional-commit title regex and CI protection description.

Comment on lines +62 to +64
- "title ~=
^(fix|feat|docs|style|refactor|perf|test|build|ci|chore|revert)(?:\\(.+\
\\))?:"
- -conflict
- -draft
- -author = dependabot[bot]
- label != do-not-merge
@codecov
Copy link

codecov bot commented Mar 14, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants