mirror of
https://github.com/libgit2/libgit2.git
synced 2026-01-25 02:56:17 +00:00
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.
This commit is contained in:
2
.github/workflows/benchmark.yml
vendored
2
.github/workflows/benchmark.yml
vendored
@@ -97,7 +97,7 @@ jobs:
|
||||
publish:
|
||||
name: Publish results
|
||||
needs: [ build ]
|
||||
if: always() && github.repository == 'libgit2/libgit2'
|
||||
if: always() && github.repository == 'libgit2/libgit2' && github.event_name == 'schedule'
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Check out benchmark repository
|
||||
|
||||
Reference in New Issue
Block a user