Skip to content

Commit

Permalink
Merge branch 'main' into ci-concurrency
Browse files Browse the repository at this point in the history
  • Loading branch information
larseggert authored Mar 12, 2024
2 parents 04186ee + 2ff9742 commit 497671d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/bench-comment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ name: Benchmark Comment

on:
workflow_run:
workflows: ["Bench"]
workflows: ["CI"]
types:
- completed

Expand Down
9 changes: 5 additions & 4 deletions .github/workflows/bench.yml
Original file line number Diff line number Diff line change
Expand Up @@ -138,13 +138,14 @@ jobs:
- name: Format results as Markdown
id: results
run: |
echo '### Benchmark results' > results.md
grep -Ev 'ignored|running \d+ tests|%\)' results.txt |\
sed -E -e 's/(Performance has regressed.)/:broken_heart: **\1**/gi' \
-e 's/(Performance has improved.)/:green_heart: **\1**/gi' \
-e 's/^ +/ * /gi' \
-e 's/^([a-z0-9].*)$/**\1**/gi' \
-e 's/(change:[^%]*%)([^%]*%)(.*)/\1**\2**\3/gi' \
> results.md
-e 's/^ +/ /gi' \
-e 's/^([a-z0-9].*)$/* **\1**/gi' \
-e 's/(change:[^%]*% )([^%]*%)(.*)/\1**\2**\3/gi' \
>> results.md
echo '' >> results.md
- name: Export PR comment data
Expand Down

0 comments on commit 497671d

Please sign in to comment.