File tree Expand file tree Collapse file tree 1 file changed +10
-2
lines changed Expand file tree Collapse file tree 1 file changed +10
-2
lines changed Original file line number Diff line number Diff line change 44
44
echo "$benchmark_output" >> $GITHUB_ENV
45
45
echo "EOF" >> $GITHUB_ENV
46
46
47
+ # Get the current commit SHA of DynamicPPL
48
+ DPPL_COMMIT_SHA=$(git rev-parse HEAD)
49
+ echo "DPPL_COMMIT_SHA=$DPPL_COMMIT_SHA" >> $GITHUB_ENV
50
+
51
+ COMMIT_URL="https://github.com/${{ github.repository }}/commit/$DPPL_COMMIT_SHA"
52
+ echo "DPPL_COMMIT_URL=$COMMIT_URL" >> $GITHUB_ENV
53
+
47
54
- name : Find Existing Comment
48
55
uses : peter-evans/find-comment@v3
49
56
id : find_comment
@@ -56,11 +63,12 @@ jobs:
56
63
with :
57
64
issue-number : ${{ github.event.pull_request.number }}
58
65
body : |
59
- ## Computer Information
66
+ ## Benchmark Report for Commit [`${{ env.DPPL_COMMIT_SHA }}`](${{ env.DPPL_COMMIT_URL }})
67
+ ### Computer Information
60
68
```
61
69
${{ env.VERSION_INFO }}
62
70
```
63
- ## Benchmark Report
71
+ ### Benchmark Results
64
72
```
65
73
${{ env.BENCHMARK_OUTPUT }}
66
74
```
You can’t perform that action at this time.
0 commit comments