From 91b617fae18f9224dafa20bc1e68863ed3730a75 Mon Sep 17 00:00:00 2001 From: Wojtek Zieba Date: Fri, 13 Sep 2024 15:19:05 +0200 Subject: [PATCH] Support Kotlin script (`*.gradle.kts`) and Dependencies Catalog (`*.toml`) files --- bin/comment_with_dependency_diff | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/comment_with_dependency_diff b/bin/comment_with_dependency_diff index c5598907..0b926bc5 100755 --- a/bin/comment_with_dependency_diff +++ b/bin/comment_with_dependency_diff @@ -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"