github / github/branch-deploy

Github Environments - Required Reviewer option ?

Aperta
#352 3 commenti 0 reazioni 0 assegnatari Vedi su GitHub
enhancement question
Lingua principale
TypeScript
Stelle
576
Fork
74
Merge medio
11h 7m
PR unite (30g)
1

Descrizione

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

Guida per i contributori

Apri la guida per i contributori

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
github, github-actions
Ambito
authorization, ci-cd, devops
Tipo di issue
Funzionalità
Difficoltà
4/5
Tempo stimato
3-5 giorni
Stato di attività
Ferma
Chiarezza
Da chiarire
Idoneità per principianti
20/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.