Skip to content
Snippets Groups Projects
Commit 5e39040e authored by Austin Anderson's avatar Austin Anderson
Browse files

Fix maybe-null check

parent a65b1141
Branches
No related tags found
No related merge requests found
...@@ -100,7 +100,7 @@ for commit in JSON_DATA["data"]["repository"]["ref"]["target"]["history"]["nodes ...@@ -100,7 +100,7 @@ for commit in JSON_DATA["data"]["repository"]["ref"]["target"]["history"]["nodes
clone["type"] = "status check" clone["type"] = "status check"
clone["state"] = check["state"] clone["state"] = check["state"]
clone["result_url"] = check["targetUrl"] clone["result_url"] = check["targetUrl"]
clone["is_public"] = not check["targetUrl"].startswith(tuple(YAML_CONFIG["internal_startswith"])) clone["is_public"] = not (check["targetUrl"] or "").startswith(tuple(YAML_CONFIG["internal_startswith"]))
# GitHub Actions jobs are all other kinds of jobs. # GitHub Actions jobs are all other kinds of jobs.
else: else:
# Some GitHub Actions results don't have a workflow group name, so we # Some GitHub Actions results don't have a workflow group name, so we
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment