[CI] Consolidate style, Serge review and GPU test bots under @diffusers-bot - #14623
Open
DN6 wants to merge 1 commit into
Open
[CI] Consolidate style, Serge review and GPU test bots under @diffusers-bot#14623DN6 wants to merge 1 commit into
@diffusers-bot#14623DN6 wants to merge 1 commit into
Conversation
sayakpaul
reviewed
Aug 27, 2026
sayakpaul
left a comment
Member
There was a problem hiding this comment.
Thanks! Can we keep the logic of the individual jobs in their own files and invoke them from diffusers_bot.yml? Otherwise, it's just one big file to maintain which could be burdensome.
Additionally, could we share the auth step? I don't think it would hurt to unify the permissions across all the three jobs?
Comment on lines
+5
to
+7
| # @diffusers-bot style run `make style && make quality` and push the fixes to the PR branch | ||
| # @diffusers-bot review request a Serge AI review (also works from an inline review comment) | ||
| # @diffusers-bot pytest <args> run `pytest <args>` on a GPU runner, e.g. |
Member
There was a problem hiding this comment.
But the comment is /diffusers-bot though.
| github.event_name == 'issue_comment' && | ||
| github.event.issue.pull_request && | ||
| github.event.issue.state == 'open' && | ||
| contains(github.event.comment.body, '@diffusers-bot review') && |
Member
There was a problem hiding this comment.
For Serge, we use @askserge, though. I am guessing that should still work?
'. + {installation: {id: $iid}} | .comment.body |= sub("@diffusers-bot review"; "@askserge")' ?
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What does this PR do?
We have multiple bot commands available, but they all have different invocations. This PR consolidates everything under a
@diffusers-botcommande.g.
Fixes # (issue)
Before submitting
self-reviewskill on the diff?documentation guidelines, and
here are tips on formatting docstrings.
Who can review?
Anyone in the community is free to review the PR once the tests have passed. Feel free to tag
members/contributors who may be interested in your PR.