Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/scripts/docathon-label-sync.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,11 @@ def main():
issue_number = int(re.findall(r'#(\d{1,5})', pull_request_body)[0])
issue = repo.get_issue(issue_number)
issue_labels = issue.labels
docathon_label_present = any(label.name == 'docathon-h1-2024' for label in issue_labels)
docathon_label_present = any(label.name == 'docathon-h1-2025' for label in issue_labels)

# if the issue has a docathon label, add all labels from the issue to the PR.
if not docathon_label_present:
print("The 'docathon-h1-2024' label is not present in the issue.")
print("The 'docathon-h1-2025' label is not present in the issue.")
return
pull_request_labels = pull_request.get_labels()
issue_label_names = [label.name for label in issue_labels]
Expand Down