Danger rules for SoftwareONE repositories
- PR title contains at least 1 Jira item starting with MPT-
- PR title doesn't contain multiple Jira items assigned
- PR contains not more than 600 changes lines
- PR doesn't have multiple commits, only one is recommended
- PR for the release branch (aka
release/*) also has corresponding PR to the main branch. The match is checked by Jira issue - PR for the release branch (aka
release/*) contains[HF]or[Backport]labels in the title - PR should always contain changes in tests files if there was a change in the logic
- PR doesn't contain merge commits. Using of
pull --rebaseis preferable - Tests files should have proper paths and names. Path should reflect the file under test path. File name should be same as original file name with
test_prefix