ci: only publish benchmarks from libgit2/libgit2

Benchmark runs are trying to be pushed from repos that _aren't_
libgit2/libgit2. Try again with the syntax.
This commit is contained in:
Edward Thomson
2024-08-22 13:10:29 +01:00
parent 4d38f13619
commit 782e29c906

View File

@@ -89,7 +89,7 @@ jobs:
publish:
name: Publish results
needs: [ build ]
if: ${{ always() && github.repository == 'libgit2/libgit2' }}
if: always() && github.repository == 'libgit2/libgit2'
runs-on: ubuntu-latest
steps:
- name: Check out benchmark repository