From 30f466734efaaf3b4f2c5c7906b1ae2dae2f909a Mon Sep 17 00:00:00 2001 From: Chris Araman Date: Sun, 9 May 2021 11:27:22 -0700 Subject: [PATCH] =?UTF-8?q?=F0=9F=9A=A8=20Version=20bumps=20are=20now=20tr?= =?UTF-8?q?acked=20as=20git=20tags,=20not=20source=20changes?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Dangerfile | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/Dangerfile b/Dangerfile index f58d0ea..9d6636b 100644 --- a/Dangerfile +++ b/Dangerfile @@ -11,18 +11,12 @@ has_app_changes = !git.modified_files.grep(/Sources/).empty? has_test_changes = !git.modified_files.grep(/Tests/).empty? -is_version_bump = git.modified_files.sort == [ - "Package.swift", - "MasKit/Package.swift" -].sort -message(":bookmark: Version bump!") if is_version_bump - -# if has_app_changes && !has_test_changes && !is_version_bump +# if has_app_changes && !has_test_changes # warn("Tests were not updated", sticky: false) # end # Thanks other people! -message(":tada:") if is_version_bump && github.pr_author != "phatblat" +message(":tada:") if github.pr_author != "phatblat" # Mainly to encourage writing up some reasoning about the PR, rather than just leaving a title if github.pr_body.length < 5