Skip to content

Commit 90e659d

Browse files
committed
ci: only publish benchmarks nightly
Allow for workflow_dispatch jobs to run, but don't publish their test results; this is useful for testing workflows themselves.
1 parent 4f40bd9 commit 90e659d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/benchmark.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ jobs:
9797
publish:
9898
name: Publish results
9999
needs: [ build ]
100-
if: always() && github.repository == 'libgit2/libgit2'
100+
if: always() && github.repository == 'libgit2/libgit2' && github.event_name == 'schedule'
101101
runs-on: ubuntu-latest
102102
steps:
103103
- name: Check out benchmark repository

0 commit comments

Comments
 (0)