Skip to content

Benchmark comment on commit #11880

Benchmark comment on commit

Benchmark comment on commit #11880

name: Benchmark comment on commit
on:
workflow_run:
workflows: ["Benchmark"]
types:
- completed
jobs:
macro_benchmarks_comment:
name: Benchmark comment on commit
runs-on: blacksmith-4vcpu-ubuntu-2204
if: >
github.event.workflow_run.conclusion == 'success'
steps:
- name: Download artifact with body message
uses: actions/download-artifact@v4
with:
name: body
github-token: ${{ secrets.GITHUB_TOKEN }}
run-id: ${{ github.event.workflow_run.id }}
- name: Create Commit Comment
uses: peter-evans/commit-comment@v3
with:
sha: ${{ github.event.workflow_run.head_sha }}
body-path: body.md