Improve the naming of push rules
Problem to solve
Push rules are inconsistently named. This is confusing and sloppy given these are used to enforce important policies.
Further details
Proposal
| Current | Proposed |
|---|---|
Removal of tags with git push
|
Prevent tag deletion |
| Committer restriction | Require matching committer email |
| Check whether author is a GitLab user | Require matching author email |
| Check whether commit is signed through GPG | Require GPG signed commits |
| Prevent committing secrets to Git | Prevent pushing secrets |
| Restrict by commit message | Require matching commit messages |
| Restrict by commit message (negative match) | Reject matching commit messages |
| Restrict by branch name | Require matching branch name |
| Restrict by commit author’s email | |
| Prohibited file names | |
| Maximum file size |