Skip to content

Commit

Permalink
Add step to list comments
Browse files Browse the repository at this point in the history
  • Loading branch information
bryanhuhta committed Aug 2, 2024
1 parent f5e8eb8 commit bf35d9b
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .github/workflows/bench.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,3 +22,17 @@ jobs:
# TODO: Provide output
- name: Run Benchmark
run: go run github.com/grafana/pyrobench@65a9bc2 -v compare --git-base 5eca05b1e4cf63df5d007ec6b13ce7394a0fffe3

- uses: actions/github-script@v7
id: create-comment
with:
# TODO(bryan): Only run on pull_request, not push
script: |
github.rest.issues.listComments({
issue_number: context.issue.number,
owner: context.repo.owner,
repo: context.repo.repo,
});
- name: Get result
run: echo "${{steps.create-comment.outputs.result}}"

0 comments on commit bf35d9b

Please sign in to comment.