Allow users with triage role or higher to archive pull requests [GA]

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

还没有人认领这个 Issue。

评估

难度
5/5
预计耗时
一周以上
新手友好度
30/100
Issue 类型
功能
描述清晰度
需要澄清
活跃度
冷清
技术栈
github
领域
authorization

调研方向

未指定源文件、测试或入口点。首先检查现有的 pull request 归档权限模型,以及文档中记录的 triage 角色功能;当具有 triage、write、maintain 和 admin 角色的用户可以归档 pull request,而不会获得代码修改权限时,即表示完成。

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

描述

Enterprise Free GA GHES 3.24 Team
Value Prop

Users with the triage role (and above) can now archive pull requests, giving repository maintainers the flexibility to delegate PR hygiene to trusted moderators without granting them write access to code. This aligns pull request archiving with the intended scope of the triage role — handling moderation tasks that don't modify source code. Teams managing large or open source repositories can distribute cleanup work more effectively across their contributors.

Expected Outcome

By expanding archiving permissions to include triage, write, maintain, and admin roles, teams can reduce their reliance on write-level collaborators for routine PR housekeeping like closing spam or stale pull requests. This removes a friction point in open source and large-team workflows where trusted triagers were previously blocked from performing straightforward moderation tasks. The change brings the permission model in line with maintainer expectations and enables cleaner, faster PR management at scale.

主要语言
没有语言数据
星标
9k
派生
1.8k
PR 合并指标
30 天内没有已合并 PR

环境准备

  • 没有 Dockerfile 或 Docker Compose 文件
  • 没有 Pull Request 模板
  • 阅读贡献指南

从这里开始

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

github/roadmap 的其他 Issue

查看 github/roadmap 的全部 Issue

相似的 Issue

更多 Security Issue

把新 issue 发到你的邮箱

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