From 8e45236b11f765f3ae5165d7f2c6d1c3967187be Mon Sep 17 00:00:00 2001 From: alstr Date: Sun, 28 Mar 2021 10:13:25 +0100 Subject: [PATCH] Fix error retrieving diff --- main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.py b/main.py index 4eaf7e6..af12f33 100644 --- a/main.py +++ b/main.py @@ -443,7 +443,7 @@ if __name__ == "__main__": if os.getenv('INPUT_COMMENT_MARKER') and os.getenv('INPUT_LABEL'): # The user doesn't want to use the v3.x parser for whatever reason. fallback_parser.main() - else: + elif os.getenv('INPUT_BEFORE') != '0000000000000000000000000000000000000000': # Create a basic client for communicating with GitHub, automatically initialised with environment variables. client = GitHubClient() # Get the diff from the last pushed commit.