From 606dd2f9cef59b77f8fc00f684dbe6d0366a92a2 Mon Sep 17 00:00:00 2001 From: Alex Lebens Date: Tue, 15 Jul 2025 22:36:05 -0500 Subject: [PATCH] remove int cast --- process-repository.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/process-repository.py b/process-repository.py index dc96f2c..99f17a9 100644 --- a/process-repository.py +++ b/process-repository.py @@ -71,7 +71,7 @@ def main(): # -- Check required -- if (not issue_required_tag == None) and ( - not int(issue_required_tag) in issue_current_labels + not issue_required_tag in issue_current_labels ): logger.debug( f">> Skipping issue #{issue["number"]} because it does not have the required ('{issue_required_tag}') tag" @@ -80,7 +80,7 @@ def main(): # -- Check exclude -- if (not issue_exclude_tag == None) and ( - int(issue_exclude_tag) in issue_current_labels + issue_exclude_tag in issue_current_labels ): logger.debug( f">> Skipping issue #{issue["number"]} because it has the exclude ('{issue_exclude_tag}') tag" @@ -143,7 +143,7 @@ def main(): # -- Check required -- if (not pull_request_required_tag == None) and ( - not int(pull_request_required_tag) in pull_request_current_labels + not pull_request_required_tag in pull_request_current_labels ): logger.debug( f">> Skipping pull request #{pull_request["number"]} because it does not have the required ('{pull_request_required_tag}') tag" @@ -152,7 +152,7 @@ def main(): # -- Check exclude -- if (not pull_request_exclude_tag == None) and ( - int(pull_request_exclude_tag) in pull_request_current_labels + pull_request_exclude_tag in pull_request_current_labels ): logger.debug( f">> Skipping pull request #{pull_request["number"]} because it has the exclude ('{pull_request_exclude_tag}') tag"