Skip to content

Commit

Permalink
Support Kotlin script (*.gradle.kts) and Dependencies Catalog (`*.t…
Browse files Browse the repository at this point in the history
…oml`) files
  • Loading branch information
wzieba committed Sep 13, 2024
1 parent f9f6019 commit 91b617f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/comment_with_dependency_diff
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ echo "--> Base branch is $baseBranch"
# state of the codebase.
git merge "origin/$baseBranch" --no-edit

if (git diff --name-status "origin/$baseBranch" | grep ".gradle*" --quiet) then
if (git diff --name-status "origin/$baseBranch" | grep ".gradle*|.toml" --quiet) then
echo ".gradle files have been changed. Looking for caused dependency changes"
else
echo ".gradle files haven't been changed. There is no need to run the diff"
Expand Down

0 comments on commit 91b617f

Please sign in to comment.