From 142d2574c46afe2893dc0f6c7d4857b08173202f Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Mon, 14 Jul 2025 15:18:51 +0000 Subject: [PATCH 1/3] Initial plan From 03681745e1648401636afea76dfc9304e39f9b22 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Mon, 14 Jul 2025 15:23:54 +0000 Subject: [PATCH 2/3] Migrate from opentelemetrybot to otelbot Co-authored-by: trask <218610+trask@users.noreply.github.com> --- .github/workflows/release-please.yaml | 9 +++++++-- .toys/.data/releases.yml | 4 ++-- release-please-config.json | 2 +- 3 files changed, 10 insertions(+), 5 deletions(-) diff --git a/.github/workflows/release-please.yaml b/.github/workflows/release-please.yaml index 41dd9b9111..ed78d1f2b9 100644 --- a/.github/workflows/release-please.yaml +++ b/.github/workflows/release-please.yaml @@ -17,10 +17,15 @@ jobs: name: Process Release runs-on: ubuntu-latest steps: + - uses: actions/create-github-app-token@df432ceedc7162793a195dd1713ff69aefc7379e # v2.0.6 + id: otelbot-token + with: + app-id: ${{ vars.OTELBOT_APP_ID }} + private-key: ${{ secrets.OTELBOT_PRIVATE_KEY }} - uses: googleapis/release-please-action@v4.2.0 id: prepare - # with: - # token: ${{ secrets.OPENTELEMETRYBOT_GITHUB_TOKEN }} + with: + token: ${{ steps.otelbot-token.outputs.token }} outputs: paths_released: ${{ steps.prepare.outputs.paths_released }} diff --git a/.toys/.data/releases.yml b/.toys/.data/releases.yml index c54fe963d0..66cd54afe8 100644 --- a/.toys/.data/releases.yml +++ b/.toys/.data/releases.yml @@ -8,8 +8,8 @@ main_branch: main required_checks_timeout: 1200 required_checks: "^(ci|CI).*" # Git user attached to commits for release pull requests. -git_user_name: OpenTelemetry Bot -git_user_email: 107717825+opentelemetrybot@users.noreply.github.com +git_user_name: otelbot +git_user_email: 197425009+otelbot@users.noreply.github.com # Control the conventional commit linter. commit_lint: diff --git a/release-please-config.json b/release-please-config.json index db4312a82d..80fdb7b9b1 100644 --- a/release-please-config.json +++ b/release-please-config.json @@ -10,7 +10,7 @@ "release-type": "ruby", "separate-pull-requests": false, "sequential-calls": true, - "signoff": "OpenTelemetry Bot <107717825+opentelemetrybot@users.noreply.github.com>", + "signoff": "OpenTelemetry Bot <197425009+otelbot@users.noreply.github.com>", "skip-github-release": false, "tag-separator": " ", "packages": { From 8a628c6ddb8e9756b172ce15f9144186948fc466 Mon Sep 17 00:00:00 2001 From: Trask Stalnaker Date: Mon, 14 Jul 2025 08:36:02 -0700 Subject: [PATCH 3/3] Update .github/workflows/release-please.yaml --- .github/workflows/release-please.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release-please.yaml b/.github/workflows/release-please.yaml index ed78d1f2b9..50c8f0c60d 100644 --- a/.github/workflows/release-please.yaml +++ b/.github/workflows/release-please.yaml @@ -24,8 +24,8 @@ jobs: private-key: ${{ secrets.OTELBOT_PRIVATE_KEY }} - uses: googleapis/release-please-action@v4.2.0 id: prepare - with: - token: ${{ steps.otelbot-token.outputs.token }} + # with: + # token: ${{ steps.otelbot-token.outputs.token }} outputs: paths_released: ${{ steps.prepare.outputs.paths_released }}