diff --git a/.github/workflows/release-please.yaml b/.github/workflows/release-please.yaml index 41dd9b9111..50c8f0c60d 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 }} + # 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": {