Skip to content

ci(mergify): upgrade configuration to current format - #254

Merged
unknowIfGuestInDream merged 1 commit into
masterfrom
mergify/configuration-deprecated-update
Jun 19, 2026
Merged

ci(mergify): upgrade configuration to current format#254
unknowIfGuestInDream merged 1 commit into
masterfrom
mergify/configuration-deprecated-update

Conversation

@mergify

@mergify mergify Bot commented Jun 19, 2026

Copy link
Copy Markdown
Contributor

No more deprecated fields are being used in your Mergify configuration, this pull request will be closed.

@naming-conventions-bot

Copy link
Copy Markdown

Thank you for following naming conventions! 😻

@github-actions github-actions Bot added the enhancement New feature or request label Jun 19, 2026
@what-the-diff

what-the-diff Bot commented Jun 19, 2026

Copy link
Copy Markdown

PR Summary

  • Improved Formatting of the assign Action
    The formatting for the 'assign' action within the code has been updated to aid readability and processing. By adding a space in the {{ author }} placeholder in the .mergify.yml file, we ensure smoother and correct interpretation by the system.

@mergify

mergify Bot commented Jun 19, 2026

Copy link
Copy Markdown
Contributor Author

Thanks for opening this pull request!
Please check out the Contributing Guidelines.

@mergify

mergify Bot commented Jun 19, 2026

Copy link
Copy Markdown
Contributor Author

@mergify[bot]
Wrong PR Title: ci(mergify): upgrade configuration to current format
Please check Contributing Guidelines for more information.

@mergify
mergify Bot requested a review from unknowIfGuestInDream June 19, 2026 01:04
@sourcery-ai

sourcery-ai Bot commented Jun 19, 2026

Copy link
Copy Markdown
审阅者指南(在小型 PR 上默认折叠)

审阅者指南

更新 Mergify CI 配置以使用新的标准受理人(assignee)模板语法,并修复 assign 动作配置中的一个小格式问题。

更新后 Mergify assign 动作配置的流程图

flowchart TD
  A[Pull request opened] --> B[Check conditions:
  - label!=no-auto-assign
  - -closed
  - #assignee=0]
  B -->|conditions match| C[actions.assign]
  C --> D[assign.users:
  {{ author }}]
  B -->|conditions do not match| E[No assignment]
Loading

按文件划分的变更

变更 详情 文件
将 Mergify 受理人模板语法更新为新的标准形式,并清理 assign 动作中的 YAML 格式。
  • 将受理人模板从已弃用的 '{{author}}' 形式切换为新版本 Mergify 要求的标准 '{{ author }}' 形式。
  • 通过移除 'assign' 动作键后的尾随空格来规范 YAML 格式。
.mergify.yml

提示与命令

与 Sourcery 交互

  • 触发新审阅: 在 pull request 中评论 @sourcery-ai review
  • 继续讨论: 直接回复 Sourcery 的审阅评论。
  • 从审阅评论生成 GitHub Issue: 在审阅评论下回复,请 Sourcery 从该评论创建一个 issue。你也可以回复 @sourcery-ai issue 来从该评论创建 issue。
  • 生成 pull request 标题: 在 pull request 标题的任意位置写上 @sourcery-ai,即可随时生成标题。你也可以在 pull request 中评论 @sourcery-ai title 来(重新)生成标题。
  • 生成 pull request 摘要: 在 pull request 正文任意位置写上 @sourcery-ai summary,即可在你想要的精确位置生成 PR 摘要。你也可以在 pull request 中评论 @sourcery-ai summary 来随时(重新)生成摘要。
  • 生成审阅者指南: 在 pull request 中评论 @sourcery-ai guide,即可随时(重新)生成审阅者指南。
  • 一次性解决所有 Sourcery 评论: 在 pull request 中评论 @sourcery-ai resolve,即可将所有 Sourcery 评论标记为已解决。如果你已经处理完所有评论且不想再看到它们,这会很有用。
  • 一次性撤销所有 Sourcery 审阅: 在 pull request 中评论 @sourcery-ai dismiss,即可撤销所有现有的 Sourcery 审阅。如果你想从头开始一次新的审阅,这尤其有用——别忘了再评论 @sourcery-ai review 来触发新的审阅!

自定义你的体验

前往你的控制面板 来:

  • 启用或禁用审阅功能,例如 Sourcery 自动生成的 pull request 摘要、审阅者指南等。
  • 更改审阅语言。
  • 添加、移除或编辑自定义审阅说明。
  • 调整其他审阅设置。

获取帮助

Original review guide in English
Reviewer's guide (collapsed on small PRs)

Reviewer's Guide

Updates the Mergify CI configuration to use the new canonical assignee template syntax and fixes a minor formatting issue in the assign action configuration.

Flow diagram for updated Mergify assign action configuration

flowchart TD
  A[Pull request opened] --> B[Check conditions:
  - label!=no-auto-assign
  - -closed
  - #assignee=0]
  B -->|conditions match| C[actions.assign]
  C --> D[assign.users:
  {{ author }}]
  B -->|conditions do not match| E[No assignment]
Loading

File-Level Changes

Change Details Files
Update Mergify assignee template syntax to the new canonical form and clean up YAML formatting in the assign action.
  • Switch assignee template from the deprecated '{{author}}' form to the canonical '{{ author }}' form required by newer Mergify versions.
  • Normalize YAML formatting by removing trailing whitespace on the 'assign' action key.
.mergify.yml

Tips and commands

Interacting with Sourcery

  • Trigger a new review: Comment @sourcery-ai review on the pull request.
  • Continue discussions: Reply directly to Sourcery's review comments.
  • Generate a GitHub issue from a review comment: Ask Sourcery to create an
    issue from a review comment by replying to it. You can also reply to a
    review comment with @sourcery-ai issue to create an issue from it.
  • Generate a pull request title: Write @sourcery-ai anywhere in the pull
    request title to generate a title at any time. You can also comment
    @sourcery-ai title on the pull request to (re-)generate the title at any time.
  • Generate a pull request summary: Write @sourcery-ai summary anywhere in
    the pull request body to generate a PR summary at any time exactly where you
    want it. You can also comment @sourcery-ai summary on the pull request to
    (re-)generate the summary at any time.
  • Generate reviewer's guide: Comment @sourcery-ai guide on the pull
    request to (re-)generate the reviewer's guide at any time.
  • Resolve all Sourcery comments: Comment @sourcery-ai resolve on the
    pull request to resolve all Sourcery comments. Useful if you've already
    addressed all the comments and don't want to see them anymore.
  • Dismiss all Sourcery reviews: Comment @sourcery-ai dismiss on the pull
    request to dismiss all existing Sourcery reviews. Especially useful if you
    want to start fresh with a new review - don't forget to comment
    @sourcery-ai review to trigger a new review!

Customizing Your Experience

Access your dashboard to:

  • Enable or disable review features such as the Sourcery-generated pull request
    summary, the reviewer's guide, and others.
  • Change the review language.
  • Add, remove or edit custom review instructions.
  • Adjust other review settings.

Getting Help

@sourcery-ai sourcery-ai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Hey - 我已经审查了你的更改,一切看起来都很棒!


Sourcery 对开源项目是免费的 —— 如果你觉得我们的评审有帮助,欢迎分享 ✨
帮我变得更有用吧!请在每条评论上点 👍 或 👎,我会根据你的反馈改进后续的评审。
Original comment in English

Hey - I've reviewed your changes and they look great!


Sourcery is free for open source - if you like our reviews please consider sharing them ✨
Help me be more useful! Please click 👍 or 👎 on each comment and I'll use the feedback to improve your reviews.

@unknowIfGuestInDream
unknowIfGuestInDream merged commit 3bd144f into master Jun 19, 2026
61 of 62 checks passed
@unknowIfGuestInDream
unknowIfGuestInDream deleted the mergify/configuration-deprecated-update branch June 19, 2026 05:35
@sonarqubecloud

Copy link
Copy Markdown

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

Labels

enhancement New feature or request size/XS

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant