From 55cbc26294bf96ad0f5580863cc418f6301d05ce Mon Sep 17 00:00:00 2001 From: Jay DeLuca Date: Thu, 25 Sep 2025 15:13:34 -0400 Subject: [PATCH 1/2] update benchmarks script --- .../workflows/overhead-benchmark-daily.yml | 26 ++++++++++++------- 1 file changed, 16 insertions(+), 10 deletions(-) diff --git a/.github/workflows/overhead-benchmark-daily.yml b/.github/workflows/overhead-benchmark-daily.yml index e1f77b3f272a..c6a10d0f022a 100644 --- a/.github/workflows/overhead-benchmark-daily.yml +++ b/.github/workflows/overhead-benchmark-daily.yml @@ -42,17 +42,23 @@ jobs: - name: Copy results back to gh-pages branch run: rsync -avv benchmark-overhead/results/ gh-pages/benchmark-overhead/results/ && rm -rf benchmark-overhead/results - - name: Commit updated results - uses: EndBug/add-and-commit@a94899bca583c204427a224a7af87c02f9b325d5 # v9.1.4 + - name: Use CLA approved bot + run: .github/scripts/use-cla-approved-bot.sh + + - uses: actions/create-github-app-token@67018539274d69449ef7c02e8e71183d1719ab42 # v2.1.4 + id: otelbot-token with: - add: "benchmark-overhead/results" - cwd: "./gh-pages" - branch: "gh-pages" - message: "update test result data" - author_name: otelbot - author_email: 197425009+otelbot@users.noreply.github.com - committer_name: otelbot - committer_email: 197425009+otelbot@users.noreply.github.com + app-id: ${{ vars.OTELBOT_APP_ID }} + private-key: ${{ secrets.OTELBOT_PRIVATE_KEY }} + + - name: Commit updated results + env: + GH_TOKEN: ${{ steps.otelbot-token.outputs.token }} + working-directory: ./gh-pages + run: | + git add benchmark-overhead/results + git commit -m "update test result data" + git push workflow-notification: permissions: From 6da541aa48eb68e1ec244e65d3bd93b2948bfa15 Mon Sep 17 00:00:00 2001 From: Jay DeLuca Date: Thu, 25 Sep 2025 15:30:09 -0400 Subject: [PATCH 2/2] remove token --- .github/workflows/overhead-benchmark-daily.yml | 8 -------- 1 file changed, 8 deletions(-) diff --git a/.github/workflows/overhead-benchmark-daily.yml b/.github/workflows/overhead-benchmark-daily.yml index c6a10d0f022a..a5ce2a0f512c 100644 --- a/.github/workflows/overhead-benchmark-daily.yml +++ b/.github/workflows/overhead-benchmark-daily.yml @@ -45,15 +45,7 @@ jobs: - name: Use CLA approved bot run: .github/scripts/use-cla-approved-bot.sh - - uses: actions/create-github-app-token@67018539274d69449ef7c02e8e71183d1719ab42 # v2.1.4 - id: otelbot-token - with: - app-id: ${{ vars.OTELBOT_APP_ID }} - private-key: ${{ secrets.OTELBOT_PRIVATE_KEY }} - - name: Commit updated results - env: - GH_TOKEN: ${{ steps.otelbot-token.outputs.token }} working-directory: ./gh-pages run: | git add benchmark-overhead/results