Return the pull request number which triggered this action.
()
| 49 | |
| 50 | |
| 51 | def get_files_url() -> str: |
| 52 | """Return the pull request number which triggered this action.""" |
| 53 | with open(os.environ["GITHUB_EVENT_PATH"]) as file: |
| 54 | event = json.load(file) |
| 55 | return event["pull_request"]["url"] + "/files" |
| 56 | |
| 57 | |
| 58 | def added_solution_file_path() -> list[pathlib.Path]: |
no outgoing calls
no test coverage detected