github / github/branch-deploy

Github Environments - Required Reviewer option ?

未关闭
#352 3 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
enhancement question
主要语言
TypeScript
星标
576
派生
74
平均合并
11 小时 7 分钟
30 天内合并 PR
1

描述

### Details

Hello,
Is it possible to apply "Approval Gate" when deploying to PRODUCTION environment ?

Here is an example of existing 'production' which require reviewers on Github Level :

![{6CF1901D-0F76-4158-8058-0E58C9BF301E}](https://github.com/user-attachments/assets/0bb9ca6e-8d4f-4fed-b8d5-c6b991223856)

But if its enable branch-deploy fails with :

.deploy production

![{5F20E4B4-78B7-472C-A6DA-775A011F01F9}](https://github.com/user-attachments/assets/0b6eb946-de44-4100-a571-a35a491d841f)

How can I ensure that deployment to 'production' is managed ONLY by dedicated user(s), and deployment to 'stage' is managed by other repo 'write' users?

贡献指南

打开贡献指南

调研方向

首先检查 branch-deploy 的部署流程以及 GitHub Environments 的必需审查者行为。重现 issue 中描述的 `.deploy production` 情况,然后确定项目是否能够为 production 强制要求专用审查者,同时允许其他具有仓库写入权限的用户部署到 stage。完成结果应包括一条已记录或已实现且经过验证的访问控制路径。

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

评估

技术栈
github, github-actions
领域
authorization, ci-cd, devops
Issue 类型
功能
难度
4/5
预计耗时
3-5 天
活跃度
停滞
描述清晰度
需要澄清
新手友好度
20/100

把新 issue 发到你的邮箱

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