From c2ff60c8574b57ff53fa8c24597797e4d7535e2f Mon Sep 17 00:00:00 2001 From: Adam Cmiel Date: Tue, 6 Aug 2024 10:35:12 +0200 Subject: [PATCH] test behavior of uploading different reports Signed-off-by: Adam Cmiel --- .tekton/scripts/github-update-comment.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/.tekton/scripts/github-update-comment.py b/.tekton/scripts/github-update-comment.py index 0219380542..6158382688 100755 --- a/.tekton/scripts/github-update-comment.py +++ b/.tekton/scripts/github-update-comment.py @@ -75,10 +75,8 @@ def main(): owner = os.environ["REPO_OWNER"] repo = os.environ["REPO_NAME"] pull_request = os.environ["PULL_REQUEST_NUMBER"] - with open(sys.argv[1], 'r') as comment_file: - comment = comment_file.read() - with open(os.environ['GITHUBAPP_KEY_PATH'], 'rb') as key_file: - key = key_file.read() + comment = "hi" + key = "🔑" app_id = os.environ['GITHUBAPP_APP_ID'] print(f"Getting user token for application_id: {app_id}") github_app = GitHub(