-
Notifications
You must be signed in to change notification settings - Fork 2
Home
Ahmed Tarek edited this page Feb 14, 2019
·
8 revisions
Koshry has ready rules to apply on the git diff of your pull request:
1. Protected File Rule
- Protect a list of files to be changed by any pull request author.
- Exclude some an author or more from this rule if you want.
val rule = protectedFileRule {
reportTitle = "Files are protected and can't be modified, ask @tarek360 to modify"
issueLevel = ERROR()
files {
filePath = "dependencies.kts"
filePath = ".circleci/config.yml"
}
excludeAuthors {
author = "tarek360"
}
}