Skip to content

Commit 55cbc26

Browse files
committed
update benchmarks script
1 parent fbdb9cb commit 55cbc26

File tree

1 file changed

+16
-10
lines changed

1 file changed

+16
-10
lines changed

.github/workflows/overhead-benchmark-daily.yml

Lines changed: 16 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -42,17 +42,23 @@ jobs:
4242
- name: Copy results back to gh-pages branch
4343
run: rsync -avv benchmark-overhead/results/ gh-pages/benchmark-overhead/results/ && rm -rf benchmark-overhead/results
4444

45-
- name: Commit updated results
46-
uses: EndBug/add-and-commit@a94899bca583c204427a224a7af87c02f9b325d5 # v9.1.4
45+
- name: Use CLA approved bot
46+
run: .github/scripts/use-cla-approved-bot.sh
47+
48+
- uses: actions/create-github-app-token@67018539274d69449ef7c02e8e71183d1719ab42 # v2.1.4
49+
id: otelbot-token
4750
with:
48-
add: "benchmark-overhead/results"
49-
cwd: "./gh-pages"
50-
branch: "gh-pages"
51-
message: "update test result data"
52-
author_name: otelbot
53-
author_email: [email protected]
54-
committer_name: otelbot
55-
committer_email: [email protected]
51+
app-id: ${{ vars.OTELBOT_APP_ID }}
52+
private-key: ${{ secrets.OTELBOT_PRIVATE_KEY }}
53+
54+
- name: Commit updated results
55+
env:
56+
GH_TOKEN: ${{ steps.otelbot-token.outputs.token }}
57+
working-directory: ./gh-pages
58+
run: |
59+
git add benchmark-overhead/results
60+
git commit -m "update test result data"
61+
git push
5662
5763
workflow-notification:
5864
permissions:

0 commit comments

Comments
 (0)