github / github/branch-deploy

Github Environments - Required Reviewer option ?

Open
#352 3 comments 0 reactions 0 assignees View on GitHub
enhancement question
Dominant language
TypeScript
Stars
576
Forks
74
Avg merge
11h 7m
Merged PRs (30d)
1

Description

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

Contributor guide

Open the contributing guide

Research direction

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.

Written by the indexing model from the issue text.

Assessment

Tech stack
github, github-actions
Domain
authorization, ci-cd, devops
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.