Skip to content

Commit 76a8eb4

Browse files
authored
Merge pull request #343 from b-ma/fix/bench-workflow
Fix bench workflow
2 parents 558c144 + 7fb5fbc commit 76a8eb4

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

.github/workflows/benchmark-post-result.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@ on:
1616
jobs:
1717
upload:
1818
runs-on: ubuntu-latest
19+
if: ${{ github.event.workflow_run.conclusion == 'success' }}
20+
1921
steps:
2022
- name: "Download artifact"
2123
uses: actions/github-script@v6

.github/workflows/benchmark.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ env:
1717
jobs:
1818
benchmark:
1919
runs-on: ubuntu-latest
20-
if: ${{ github.event.issue.pull_request }} && contains(github.event.comment.body, '/bench')
20+
if: contains(github.event.comment.body, '/bench')
2121

2222
steps:
2323
# the workflow is triggered from main branch

0 commit comments

Comments
 (0)