Import 'Allow specified actors to bypass required pull requests' rule
What does this MR do and why?
Screenshots or screen recordings
allow-specified-actors-to-bypass-required-pr
How to set up and validate locally
- On GitHub have a project which belongs to the organisation
- On GitHub create a protection rule for any branch of the project with
Require a pull request before merging
-Allow specified actors to bypass required pull requests
enabled. Add users to the list of users who can bypass required pull requests (these users must have a public-facing email address on GitHub that matches their GitLab email address) - Import this project into a GitLab group (users who can bypass required pull requests have to be group members)
- Go to project -> Settings -> Repository -> expand Protected branches section
- Ensure the same branch is protected on GitLab with such setting:
-
Allowed to push
- the users who can bypass required pull requests
MR acceptance checklist
-
I have evaluated the MR acceptance checklist for this MR.
Edited by Tetiana Zavediuk