Skip to content

Commit e3f28fc

Browse files
committed
CI: Re-generate and commit benchmark chart after each commit
1 parent 09ef2f4 commit e3f28fc

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

Diff for: .github/workflows/run.yaml

+11
Original file line numberDiff line numberDiff line change
@@ -129,3 +129,14 @@ jobs:
129129

130130
- name: Run shebang-scripts benchmark
131131
run: make run-shebangs
132+
133+
- name: Generate chart
134+
run: make -B shebang-scripts/today/chart.svg
135+
136+
- name: Commit and push updated chart
137+
run: |
138+
git config --local user.email "[email protected]"
139+
git config --local user.name "GitHub Action"
140+
git add shebang-scripts/today/chart.svg
141+
git commit -m "Update benchmark chart [skip ci]" || echo "No changes to commit"
142+
git push

0 commit comments

Comments
 (0)