Skip to content

Commit e2db98f

Browse files
authored
Merge pull request libgit2#6773 from libgit2/ethomson/ci
ci: update nightly workflows
2 parents d74d491 + 9b29a5d commit e2db98f

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/workflows/benchmark.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ jobs:
8989
publish:
9090
name: Publish results
9191
needs: [ build ]
92-
if: always()
92+
if: ${{ always() && github.repository == 'libgit2/libgit2' }}
9393
runs-on: ubuntu-latest
9494
steps:
9595
- name: Check out benchmark repository
@@ -100,7 +100,7 @@ jobs:
100100
fetch-depth: 0
101101
ssh-key: ${{ secrets.BENCHMARKS_PUBLISH_KEY }}
102102
- name: Download test results
103-
uses: actions/download-artifact@v3
103+
uses: actions/download-artifact@v4
104104
- name: Publish API
105105
run: |
106106
# Move today's benchmark run into the right place

.github/workflows/nightly.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -401,7 +401,7 @@ jobs:
401401
test_results:
402402
name: Test results
403403
needs: [ build ]
404-
if: always()
404+
if: ${{ always() && github.repository == 'libgit2/libgit2' }}
405405
runs-on: ubuntu-latest
406406
steps:
407407
- name: Download test results

0 commit comments

Comments
 (0)