Skip to content

Fix Copilot author detection in mergify rules - #248

Merged
Ben (Benbentwo) merged 1 commit into
mainfrom
Benbentwo/skip-empty-copilot-prs
Feb 20, 2026
Merged

Ben (Benbentwo) merged 1 commit into
mainfrom
Benbentwo/skip-empty-copilot-prs

Conversation

@Benbentwo

Copy link
Copy Markdown
Contributor

what

  • Fix case-sensitive regex matching for Copilot-authored PRs in mergify rules
  • Add explicit author=Copilot match for the Copilot coding agent
  • Use (?i) flag for case-insensitive regex matching

why

references

@Benbentwo
Ben (Benbentwo) requested a review from a team as a code owner February 20, 2026 22:45
@mergify

mergify Bot commented Feb 20, 2026

Copy link
Copy Markdown

💥 This pull request now has conflicts. Could you fix it Ben (@Benbentwo)? 🙏

@mergify mergify Bot added conflict This PR has conflicts triage Needs triage labels Feb 20, 2026
@mergify

mergify Bot commented Feb 20, 2026

Copy link
Copy Markdown

Important

Cloud Posse Engineering Team Review Required

This pull request modifies files that require Cloud Posse's review. Please be patient, and a core maintainer will review your changes.

To expedite this process, reach out to us on Slack in the #pr-reviews channel.

@mergify mergify Bot added the needs-cloudposse Needs Cloud Posse assistance label Feb 20, 2026
The Copilot coding agent's login is `Copilot` (capital C), so the
lowercase regex `.*copilot.*` didn't match. Add explicit `author=Copilot`
and use case-insensitive regex with `(?i)` flag.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@Benbentwo
Ben (Benbentwo) force-pushed the Benbentwo/skip-empty-copilot-prs branch from e661f93 to ce39d87 Compare February 20, 2026 22:49
@mergify mergify Bot removed the conflict This PR has conflicts label Feb 20, 2026
@Benbentwo
Ben (Benbentwo) merged commit f6f11a6 into main Feb 20, 2026
5 checks passed
@Benbentwo
Ben (Benbentwo) deleted the Benbentwo/skip-empty-copilot-prs branch February 20, 2026 22:52
@mergify mergify Bot removed needs-cloudposse Needs Cloud Posse assistance triage Needs triage labels Feb 20, 2026
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.

2 participants