Skip to content

Commit 4acf7f6

Browse files
committed
push benchmark only after merging pr
Signed-off-by: Balakrishna Avulapati <[email protected]>
1 parent f4cbda2 commit 4acf7f6

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/benchmark.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,11 +30,13 @@ jobs:
3030
tool: "benchmarkjs"
3131
output-file-path: benchmark/output.txt
3232
github-token: ${{ secrets.GITHUB_TOKEN }}
33-
auto-push: true
3433
# show alert with commit comment on detecting possible performance regression
3534
alert-threshold: "110%"
3635
comment-on-alert: true
3736
fail-on-alert: true
3837
# Enable Job Summary for PRs
3938
comment-always: true
4039
alert-comment-cc-users: "@bavulapati"
40+
- name: Push benchmark result
41+
run: git push ...
42+
if: github.event_name != 'pull_request'

0 commit comments

Comments
 (0)