The following is loosely based on
sudo su -
add-apt-repository universe
apt update && apt install -y debootstrap arch-install-scripts
| # The regex is split into a YAML sequence for better commenting | |
| # Use | |
| # yq 'join("")' conventional-commit-regex.yml | |
| # to get the actual regex string! | |
| # Test changes using | |
| # https://regex101.com/r/tl6h3n/6 (please update this if you make some changes below) | |
| # See also https://docs.gitlab.com/user/project/repository/push_rules/#validate-commit-messages | |
| # In particular, note that GitLab uses multiline mode by default, so use \A, \z instead of ^ or $ |