Skip to content

fix: add cicd label for autorollers#4984

Merged
jtmcdole merged 1 commit into
mainfrom
permitRobotOverlords
Mar 13, 2026
Merged

fix: add cicd label for autorollers#4984
jtmcdole merged 1 commit into
mainfrom
permitRobotOverlords

Conversation

@jtmcdole

Copy link
Copy Markdown
Member

fixes #183617

@jtmcdole jtmcdole requested a review from ievdokdm March 13, 2026 00:23
@github-actions

Copy link
Copy Markdown
Contributor

🤖 Hi @jtmcdole, I've received your request, and I'm working on it now! You can track my progress in the logs for more details.

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

## 📋 Review Summary

This Pull Request introduces functionality to automatically apply the CICD label to pull requests created by auto-roller accounts upon opened and edited webhook events. The overall logic is clear, well-placed, and includes updated tests to verify the new behavior correctly.

🔍 General Feedback

  • Testing: Good job updating the webhook subscription tests to cover the new labeling logic for the configured auto-roller accounts.
  • Readability: The extraction of the logic into a dedicated _addCICDForRollers helper method keeps the main event switch block clean and maintainable.
  • Edge cases: Consider checking if the label is already present before applying it to prevent redundant API calls, especially since the logic runs on every edited event.

Comment thread app_dart/lib/src/request_handlers/github/webhook_subscription.dart
@jtmcdole jtmcdole added the autosubmit Merge PR when tree becomes green via auto submit App. label Mar 13, 2026

@ievdokdm ievdokdm left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@auto-submit auto-submit Bot removed the autosubmit Merge PR when tree becomes green via auto submit App. label Mar 13, 2026
@auto-submit

auto-submit Bot commented Mar 13, 2026

Copy link
Copy Markdown
Contributor

auto label is removed for flutter/cocoon/4984, Failed to merge flutter/cocoon/4984 with Pull request flutter/cocoon/4984 could not be merged: Required status check "ci.yaml validation" is expected..

@jtmcdole jtmcdole added the CICD Run CI/CD label Mar 13, 2026
@jtmcdole jtmcdole merged commit 9c52ac2 into main Mar 13, 2026
41 checks passed
@jtmcdole jtmcdole deleted the permitRobotOverlords branch April 16, 2026 15:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CICD Run CI/CD

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants