Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .github/workflows/lexer-benchmark.yml
Original file line number Diff line number Diff line change
Expand Up @@ -83,9 +83,14 @@ jobs:
echo "cd packages/mysql-on-sqlite && composer run bench-lexer"
echo '```'
} > "$RUNNER_TEMP/comment.md"
cat "$RUNNER_TEMP/comment.md" >> "$GITHUB_STEP_SUMMARY"
echo "COMMENT_FILE=$RUNNER_TEMP/comment.md" >> "$GITHUB_ENV"

- name: Post or update the PR comment
# Fork pull requests run with a read-only token and cannot post
# comments. For those, the benchmark results are available in the job
# summary above, and the step is skipped so that the check succeeds.
if: github.event.pull_request.head.repo.fork != true
uses: actions/github-script@v7
with:
script: |
Expand Down
Loading