Skip to content

Fix benchmark comment trigger - #11673

Merged
Bill Schnurr (bschnurr) merged 1 commit into
mainfrom
fix-benchmark-comment-trigger-permissions
Aug 24, 2026
Merged

Bill Schnurr (bschnurr) merged 1 commit into
mainfrom
fix-benchmark-comment-trigger-permissions

Conversation

@bschnurr

Copy link
Copy Markdown
Member

This pull request updates the GitHub Actions workflow for benchmarking to improve security and command handling. The main changes ensure that the /benchmark command must be the only content in a comment to trigger the workflow, and adjust permissions accordingly.

Workflow improvements:

  • The workflow now checks that the comment starts with /benchmark, and adds a stricter check to ensure the comment is exactly /benchmark (ignoring whitespace). If not, it posts a notice and exits early.
  • The workflow permissions have been updated to grant pull-requests: write access, which may be needed for posting results or managing PRs.

@bschnurr
Bill Schnurr (bschnurr) enabled auto-merge (squash) August 24, 2026 16:57
@bschnurr
Bill Schnurr (bschnurr) merged commit bacb814 into main Aug 24, 2026
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants