Open wzieba opened 1 month ago
Reproduction:
.gradle
.gradle.kts
.toml
Expected behavior: Dependency diff commit is removed
Actual behavior: Dependency diff commit is not removed.
Reason: because no change is detected, the script exits early if no Gradle changes are detected. The script should remove the comment in such case:
https://github.com/Automattic/a8c-ci-toolkit-buildkite-plugin/blob/e05b61bd2bba9ea507c5185e576ef97578903b38/bin/comment_with_dependency_diff#L69-L74
Reproduction:
.gradle
,.gradle.kts
or.toml
fileExpected behavior: Dependency diff commit is removed
Actual behavior: Dependency diff commit is not removed.
Reason: because no change is detected, the script exits early if no Gradle changes are detected. The script should remove the comment in such case:
https://github.com/Automattic/a8c-ci-toolkit-buildkite-plugin/blob/e05b61bd2bba9ea507c5185e576ef97578903b38/bin/comment_with_dependency_diff#L69-L74