Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Restrict push into master branch #899

Open
carloshi opened this issue Feb 12, 2022 · 0 comments
Open

Restrict push into master branch #899

carloshi opened this issue Feb 12, 2022 · 0 comments

Comments

@carloshi
Copy link

I need to restrict push operations on the master branch to only one of the teams registered in Bonobo. I tried to do it using the pre-receive hook on the server, but I don't know how to get the teams for the user who do the push. It be useful have a variable like AUTH_USER that contains the list of the teams for that user.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant