From 95fab9266a8045e1f9f0ef3637c8922f8be8775a Mon Sep 17 00:00:00 2001 From: Ben C Date: Sat, 15 Jun 2024 11:14:07 -0400 Subject: [PATCH] Make issue comments for checker actually work --- .github/workflows/check-new-mod.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/check-new-mod.yml b/.github/workflows/check-new-mod.yml index 59058f6749..8f5ef684d3 100644 --- a/.github/workflows/check-new-mod.yml +++ b/.github/workflows/check-new-mod.yml @@ -36,9 +36,12 @@ jobs: - name: Initial Comment uses: thollander/actions-comment-pull-request@v2 with: + comment_tag: pending + mode: recreate message: | ### :hourglass: Starting Mod Check View the `Checks` tab for the status of this check. + You can retry this check anytime by commenting `checker, retry`. - name: Check Mod id: check-mod continue-on-error: true @@ -49,11 +52,12 @@ jobs: overrideName: Check of ${{ env.modUniqueName }} expectedUniqueName: ${{ env.modUniqueName }} token: ${{ secrets.GITHUB_TOKEN }} - - run: echo -e "\nTo re-run the check, comment 'checker, retry' on this PR." >> ./results.md - name: Final Comment uses: thollander/actions-comment-pull-request@v2 with: filePath: ./results.md + comment_tag: results + mode: recreate - name: Return if: ${{ steps.check-mod.outcome == 'failure' }} run: exit 1