Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

Assigning PRs to merger doesn't work when they're auto-merged

未关闭
#2,137 0 条评论 1 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
3/5
预计耗时
1-2 天
新手友好度
35/100
Issue 类型
缺陷
描述清晰度
基本清楚
活跃度
停滞
技术栈
github-actions, python
领域
ci-cd, devops

调研方向

从 .github/update-release-branch.py 的第 163-168 行开始,并检查示例 PR #2110,以了解 auto-merged pull requests 的分配是如何确定的。确认此情况下预期的 assignee 行为;完成标准是 auto-merged PRs 按照该规则进行分配,而不是错误地分配给 merger。

由索引模型根据 Issue 内容生成。

描述

A bunch of [@jsoref's] PRs are assigned to the people who merged them. It feels like the automation hasn't contemplated that PRs would be written by people who can't/won't be the people who will click the "merge" button.

This is intentional:
https://github.com/github/codeql-action/blob/bc64d12bb9f349435efba65d373bac054665b85f/.github/update-release-branch.py#L163-L168

More interesting is that this approach seems to break when enabling auto-merge as can be seen here:
(merged by @angelapwen but PR is from @jsoref)

#2110 (@jsoref)

Originally posted by @intrigus-lgtm in https://github.com/github/codeql-action/issues/2131#issuecomment-1942529486

主要语言
TypeScript
星标
1.6k
派生
493
平均合并
1 天 13 小时
30 天内合并 PR
44

贡献指南

打开贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

github/codeql-action 的其他 Issue

查看 github/codeql-action 的全部 Issue

相似的 Issue

更多 TypeScript Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。