diff --git a/Dangerfile b/Dangerfile index 8bda48ec..27e92145 100644 --- a/Dangerfile +++ b/Dangerfile @@ -2,6 +2,11 @@ github.dismiss_out_of_range_messages # assign pr author to assignee if github.pr_json['assignee'] == nil + # skip if pr author is bot + if github.pr_author.include?("[bot]") + return + end + # assign pr author to assignee github.api.add_assignees( github.pr_json['base']['repo']['full_name'], github.pr_json['number'], @@ -9,6 +14,7 @@ if github.pr_json['assignee'] == nil ) end +# checkstyle checkstyle_format.base_path = Dir.pwd Dir.glob("**/build/reports/**/*.xml") do |file| checkstyle_format.report file diff --git a/renovate.json b/renovate.json new file mode 100644 index 00000000..5db72dd6 --- /dev/null +++ b/renovate.json @@ -0,0 +1,6 @@ +{ + "$schema": "https://docs.renovatebot.com/renovate-schema.json", + "extends": [ + "config:recommended" + ] +}