diff --git a/communities/genome/lab/usegalaxy.org.au/templates/intro.html b/communities/genome/lab/usegalaxy.org.au/templates/intro.html index e2ea1c746..617c99031 100644 --- a/communities/genome/lab/usegalaxy.org.au/templates/intro.html +++ b/communities/genome/lab/usegalaxy.org.au/templates/intro.html @@ -17,20 +17,20 @@ + + diff --git a/sources/bin/labs_post_comments.py b/sources/bin/labs_post_comments.py index 0e138cd0e..4977d162d 100644 --- a/sources/bin/labs_post_comments.py +++ b/sources/bin/labs_post_comments.py @@ -9,6 +9,8 @@ from pathlib import Path from github import Github +from github.IssueComment import IssueComment +from github.PullRequest import PullRequest COMMENT_TITLE_TEMPLATE = "Preview changes to {lab_name} Lab " URL_TEMPLATE = ( @@ -31,9 +33,9 @@ def get_comment( - pull_request: Github.PullRequest.PullRequest, + pull_request: PullRequest, id_string: str, -) -> Github.IssueComment.IssueComment | None: +) -> IssueComment | None: """Fetches PR comments and scans for the COMMENT_TITLE_TEMPLATE.""" for comment in pull_request.get_issue_comments(): if id_string in comment.body: