diff options
| author | Dante Niewenhuis <d.niewenhuis@hotmail.com> | 2026-06-15 15:16:28 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-06-15 15:16:28 +0200 |
| commit | 53ce2807c0dd2a45227e2351bc634f6a53412c6a (patch) | |
| tree | e2c89090a9d49af45ca002f17f60d1aa4dc1937c /.github/workflows/benchmark.yml | |
| parent | cd5345acd7e7e15999224ac5983cc774ef1bc173 (diff) | |
Updated build and benchmark to only run on atlarge-research/opendc repo (#429)
* Made build and benchmark only run on atlarge-research/opendc repo
* added error message to benchmark-comment.yml
Diffstat (limited to '.github/workflows/benchmark.yml')
| -rw-r--r-- | .github/workflows/benchmark.yml | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/.github/workflows/benchmark.yml b/.github/workflows/benchmark.yml index 3e5407bb..74b88e65 100644 --- a/.github/workflows/benchmark.yml +++ b/.github/workflows/benchmark.yml @@ -15,6 +15,7 @@ concurrency: jobs: benchmark: name: Run CIBenchmark + if: github.repository == 'atlarge-research/opendc' runs-on: ubuntu-latest permissions: @@ -61,7 +62,7 @@ jobs: # ── Master push: store results in the benchmark-data GitHub Release ─────────── store-results: name: Store benchmark results - if: github.event_name == 'push' + if: github.event_name == 'push' && github.repository == 'atlarge-research/opendc' needs: benchmark runs-on: ubuntu-latest @@ -81,8 +82,8 @@ jobs: run: | gh release download benchmark-data \ --repo atlarge-research/opendc \ - --pattern benchmark-history.json \ - --output existing-history.json 2>/dev/null \ + -A benchmark-history.json \ + -O existing-history.json 2>/dev/null \ || echo "[]" > existing-history.json env: GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
