diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 221215b1..73b735e1 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -82,9 +82,8 @@ jobs: echo "SCREENSHOT_URL: ${SCREENSHOT_URL}" || true - name: Post test result to PR # Needs permissions, https://github.com/actions/first-interaction/issues/10 - # if: github.event_name == 'pull_request' - # Unhandled error: SyntaxError: Unexpected string - if: 1 == 2 + # if: 1 == 2 + if: github.event_name == 'pull_request' uses: actions/github-script@v4 with: script: |