diff --git a/tf_oss_dashboard/dashboard.py b/tf_oss_dashboard/dashboard.py index d49865df51fdd906009e8a51cd866bbf1826d8c0..3b76651a9c1e72a31773c890ee5cc55a64f1eff3 100755 --- a/tf_oss_dashboard/dashboard.py +++ b/tf_oss_dashboard/dashboard.py @@ -100,7 +100,7 @@ for commit in JSON_DATA["data"]["repository"]["ref"]["target"]["history"]["nodes clone["type"] = "status check" clone["state"] = check["state"] 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. else: # Some GitHub Actions results don't have a workflow group name, so we