Skip to content

Fix Copilot author detection in mergify rules#248

Merged
Benbentwo merged 1 commit intomainfrom
Benbentwo/skip-empty-copilot-prs
Feb 20, 2026
Merged

Fix Copilot author detection in mergify rules#248
Benbentwo merged 1 commit intomainfrom
Benbentwo/skip-empty-copilot-prs

Conversation

@Benbentwo
Copy link
Copy Markdown
Member

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 Benbentwo requested a review from a team as a code owner February 20, 2026 22:45
@mergify
Copy link
Copy Markdown

mergify Bot commented Feb 20, 2026

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

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

mergify Bot commented Feb 20, 2026

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 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 Benbentwo merged commit f6f11a6 into main Feb 20, 2026
5 checks passed
@Benbentwo 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