fix: update benchmark job condition to include pull_request event

This commit is contained in:
GitHub Actions
2026-02-17 00:07:16 +00:00
parent 6d7cca712e
commit 74faee1a33

View File

@@ -24,7 +24,7 @@ jobs:
benchmark:
name: Performance Regression Check
runs-on: ubuntu-latest
if: ${{ github.event_name == 'workflow_dispatch' || github.event.workflow_run.conclusion == 'success' }}
if: ${{ github.event_name == 'workflow_dispatch' || github.event_name == 'pull_request' || github.event.workflow_run.conclusion == 'success' }}
# Grant write permissions for storing benchmark results (only used on push via step condition)
# Note: GitHub Actions doesn't support dynamic expressions in permissions block
permissions: