diff --git a/.github/workflows/playwright-test.yaml b/.github/workflows/playwright-test.yaml index 41242bb..ae5182b 100644 --- a/.github/workflows/playwright-test.yaml +++ b/.github/workflows/playwright-test.yaml @@ -49,5 +49,7 @@ jobs: PR_NUMBER: ${{ github.event.number }} DEPLOYMENT_URL: ${{ steps.deploy.outputs.deployment-url }} run: | - gh pr comment "${PR_NUMBER}" --edit-last \ - --body "Playwright tests report deployed to ${DEPLOYMENT_URL}" + comment_body="Playwright tests report deployed to ${DEPLOYMENT_URL}" + # workaround https://github.com/cli/cli/issues/6790 + gh pr comment "${PR_NUMBER}" --body "$comment_body" --edit-last || \ + gh pr comment "${PR_NUMBER}" --body "$comment_body"