diff --git a/.github/workflows/performance.yml b/.github/workflows/performance.yml index 7284791b3ca7..8f9752ec30dd 100644 --- a/.github/workflows/performance.yml +++ b/.github/workflows/performance.yml @@ -6,9 +6,8 @@ name: "Performance Testing" # Controls when the action will run. # Workflow runs when manually triggered using the UI or API. on: - push: - pull_request: - branches: [ main ] + issue_comment: + types: [created, edited, deleted] # Env variables env: @@ -16,6 +15,7 @@ env: jobs: Performance_x86-64: + if: contains(github.event.comment.body, '/bench_x64') name: Performance x86-64 runs-on: [self-hosted, linux, x64] # Inputs the workflow accepts.