github / github/branch-deploy

Github Environments - Required Reviewer option ?

Đang mở
#352 3 bình luận 0 reaction 0 người được giao Xem trên GitHub
enhancement question
Ngôn ngữ chính
TypeScript
Star
576
Fork
74
Merge trung bình
11 giờ 7 phút
Pull request đã merge (30 ngày)
1

Mô tả

### 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?

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Hướng nghiên cứu

Start by reviewing the branch-deploy deployment flow and GitHub Environments' required-reviewer behavior. Reproduce the `.deploy production` case described in the issue, then determine whether the project can enforce dedicated reviewers for production while allowing other repository write users to deploy to stage. Done should include a documented or implemented, verified access-control path.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Đánh giá

Công nghệ
github, github-actions
Lĩnh vực
authorization, ci-cd, devops
Loại issue
Tính năng
Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức độ hoạt động
Đình trệ
Độ rõ ràng
Cần làm rõ
Mức phù hợp với người mới
20/100

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.