diff --git a/bot_pr_test.txt b/bot_pr_test.txt index e2dcefe..05116bf 100644 --- a/bot_pr_test.txt +++ b/bot_pr_test.txt @@ -3,3 +3,4 @@ This is the 25th iteration, please work. What happens when a PR fails again? Ok, so nothing happens when a PR fails again. Now I have removed the label manually and other changes to the code. We will also test what happens when the test runs are a success and the label exist. +The feature is complete!! diff --git a/check_run_test.py b/check_run_test.py index 0311ccd..a0d1577 100644 --- a/check_run_test.py +++ b/check_run_test.py @@ -1,14 +1,3 @@ import sys -import os -import json -print(os.getenv("GITHUB_REF")) -print("Pull request:", os.getenv("GITHUB_REF").split("/")[2]) -print(os.getenv("GITHUB_EVENT_PATH")) - -with open(os.getenv("GITHUB_EVENT_PATH")) as fp: - json_obj = json.load(fp) - -print("Pull Request from event.json:", json_obj["number"]) - -sys.exit(1) +sys.exit(0)