From d98ef6439444310d3e9c74ec55a8a3ab4c155123 Mon Sep 17 00:00:00 2001 From: Nara Kasbergen Kwon <855115+xiehan@users.noreply.github.com> Date: Mon, 5 Aug 2024 13:19:43 +0200 Subject: [PATCH] chore(ci): fix comment on test failure --- .github/workflows/test-against-regression.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test-against-regression.yml b/.github/workflows/test-against-regression.yml index bee5990..7b9e99b 100644 --- a/.github/workflows/test-against-regression.yml +++ b/.github/workflows/test-against-regression.yml @@ -33,4 +33,4 @@ jobs: PR_ID: ${{ github.event.pull_request.number }} GIT_BRANCH: ${{ github.event.pull_request.head.ref }} GH_TOKEN: ${{ secrets.TEAM_TF_CDK }} - run: gh pr comment $PR_ID "This test failure could mean that the snapshots need to be regenerated. Run `git checkout $GIT_BRANCH` followed by `yarn test -- --passWithNoTests --updateSnapshot`, and commit & push the results." + run: gh pr comment $PR_ID --body "This test failure could mean that the snapshots need to be regenerated. Run `git checkout $GIT_BRANCH` followed by `yarn test -- --passWithNoTests --updateSnapshot`, and commit & push the results."