Change some severities
This commit is contained in:
parent
d60695806f
commit
725ed00759
|
@ -21,7 +21,7 @@ if (pr.body.length == 0) {
|
||||||
|
|
||||||
// Warn when there is a big PR
|
// Warn when there is a big PR
|
||||||
if (editedFiles.length > 50) {
|
if (editedFiles.length > 50) {
|
||||||
warn("This pull request seems relatively large. Please consider splitting it into multiple smaller ones.")
|
message("This pull request seems relatively large. Please consider splitting it into multiple smaller ones.")
|
||||||
}
|
}
|
||||||
|
|
||||||
// Request a changelog for each PR
|
// Request a changelog for each PR
|
||||||
|
@ -102,5 +102,5 @@ if (hasPngs) {
|
||||||
|
|
||||||
// Check for reviewers
|
// Check for reviewers
|
||||||
if (pr.requested_reviewers.length == 0 && !pr.draft) {
|
if (pr.requested_reviewers.length == 0 && !pr.draft) {
|
||||||
fail("Please add a reviewer to your PR.")
|
warn("Please add a reviewer to your PR.")
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue