Skip to content

Commit 0b4e5e4

Browse files
authored
feat(.github/perf): reference metrics dashboard (#297)
1 parent 09d15c0 commit 0b4e5e4

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/perf.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,10 +84,13 @@ jobs:
8484
working-directory: perf/runner
8585
- name: Push
8686
if: github.event.inputs.push == 'true'
87+
env:
88+
GITHUB_TOKEN: ${{ github.token }}
8789
run: |
8890
git add benchmark-results.json
8991
git commit -m "perf: update benchmark results"
9092
git push
93+
gh pr comment --body "See new metrics at https://observablehq.com/@libp2p-workspace/performance-dashboard?branch=$(git rev-parse HEAD)" || true
9194
working-directory: perf/runner
9295
- name: Archive
9396
if: github.event.intputs.push == 'false'

0 commit comments

Comments
 (0)