Unverified Commit 526a53ef authored by Yo! Symfony's avatar Yo! Symfony Committed by GitHub
Browse files

Added repo-rules.yml file

parent bdab92ad
config:
source:
path: "src/"
test:
path: "tests/"
rules:
- rule: "All modified code files must have an associated test file"
mandatory: true
conditions:
- all(plugins.get('github').code, plugins.get('github').test, 'code,test -> test.filename == code.filename')
- rule: "All commit messages must be between 5 and 100 characters"
mandatory: false
conditions:
- every(plugins.get('github').prCommits, 'x -> x.message.length() >= 5 && x.message.length() <= 100')
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment