Pre-defined push rule "Prevent committing secrets to Git" can not be enabled
Summary
When enabling the new Prevent committing secrets to Git
feature
Steps to reproduce
- On a GitLab instance running 8.12.1
- Go to `/admin/push_rules
- Check the box to enable Prevent committing secrets to Git
- Click Save Push Rules
Expected behavior
The box should remain enabled, just like the other two above it.
Actual behavior
It goes back to unchecked
Relevant logs and/or screenshots
Please let me know which logs would be relevant and I will get those and add them here.