Skip to content

Commit

Permalink
Merge pull request #39 from kitakkun/renovate/configure
Browse files Browse the repository at this point in the history
Configure Renovate
  • Loading branch information
kitakkun authored May 29, 2024
2 parents 7eba5d1 + 1818c0f commit ac514b2
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
6 changes: 6 additions & 0 deletions Dangerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,19 @@ 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'],
[github.pr_author]
)
end

# checkstyle
checkstyle_format.base_path = Dir.pwd
Dir.glob("**/build/reports/**/*.xml") do |file|
checkstyle_format.report file
Expand Down
6 changes: 6 additions & 0 deletions renovate.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": [
"config:recommended"
]
}

0 comments on commit ac514b2

Please sign in to comment.