From cb8c8f6e458387abc6efce407532d8e0f9170248 Mon Sep 17 00:00:00 2001 From: bbhtt Date: Sun, 14 Sep 2025 12:35:32 +0530 Subject: [PATCH] pr-check: Fix some comments --- .github/workflows/pr-check.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/pr-check.yml b/.github/workflows/pr-check.yml index 8a0348f..8a5a24c 100644 --- a/.github/workflows/pr-check.yml +++ b/.github/workflows/pr-check.yml @@ -150,13 +150,13 @@ jobs: if [ "$CONTAINS_MASTER" = "true" ]; then echo "PR contains commits from master branch" - REVIEW_COMMENT_LINES+=("- PR contains commits from master branch") + REVIEW_COMMENT_LINES+=("- PR does not contain commits from the [master branch](https://github.com/flathub/flathub/commits/master/)") BLOCKED=1 fi if [ "$EXIT_CODE" -ne 0 ]; then echo "PR title validation failed" - REVIEW_COMMENT_LINES+=("- PR title should be `Add $FLATPAK_ID`") + REVIEW_COMMENT_LINES+=("- PR title is `Add $FLATPAK_ID`") BLOCKED=1 fi @@ -167,11 +167,11 @@ jobs: if [ "$CHECKLIST_PRESENT" -eq 0 ]; then echo "No checklist present in PR body" - REVIEW_COMMENT_LINES+=("- No checklist present in PR body") + REVIEW_COMMENT_LINES+=("- All [checklists](https://github.com/flathub/flathub/blob/master/.github/pull_request_template.md?plain=1) are completed") BLOCKED=1 elif [ "$UNCHECKED" -gt 0 ]; then echo "Checklist incomplete in PR body" - REVIEW_COMMENT_LINES+=("- Some checklist items are not checked") + REVIEW_COMMENT_LINES+=("- All [checklists](https://github.com/flathub/flathub/blob/master/.github/pull_request_template.md?plain=1) are completed") BLOCKED=1 fi @@ -180,7 +180,7 @@ jobs: if [ -z "$REQUIRED_CHECKED" ]; then echo "Required checklist not found in PR body" - REVIEW_COMMENT_LINES+=("- Required submission checklist not marked as complete") + REVIEW_COMMENT_LINES+=("- All [checklists](https://github.com/flathub/flathub/blob/master/.github/pull_request_template.md?plain=1) are completed") BLOCKED=1 fi