Skip to content

feat: use GitHub App token for release-please identity separation#89

Merged
github-actions[bot] merged 1 commit into
mainfrom
github-app-release
Jun 6, 2026
Merged

feat: use GitHub App token for release-please identity separation#89
github-actions[bot] merged 1 commit into
mainfrom
github-app-release

Conversation

@SebTardif
Copy link
Copy Markdown
Contributor

Summary

Use the patchloom-release GitHub App token for release-please so PRs
are authored by patchloom-release[bot] instead of github-actions[bot].

Problem

  • github-actions[bot] cannot approve PRs it authored (self-approval
    deadlock on release-please PRs)
  • GITHUB_TOKEN events are suppressed by GitHub, so CI does not
    trigger on release PR updates

Changes

  • release.yml: Add actions/create-github-app-token step to
    generate an app token, pass it to release-please-action via
    token:
  • auto-approve.yml: Add patchloom-release[bot] to the trusted
    actor list so release PRs get auto-approved by github-actions[bot]

Setup completed

  • GitHub App patchloom-release created (App ID: 3978051)
  • Permissions: Contents (read/write), Pull requests (read/write)
  • Installed on patchloom-vscode repo only
  • APP_ID and APP_PRIVATE_KEY stored as repo secrets

Closes #77

Use patchloom-release App token for release-please so PRs are authored
by patchloom-release[bot] instead of github-actions[bot]. This fixes
the auto-approve self-approval deadlock (github-actions[bot] cannot
approve its own PRs) and enables CI to trigger on release PR updates
(GITHUB_TOKEN events are suppressed by GitHub).

- Add create-github-app-token step in release.yml
- Pass app token to release-please-action
- Add patchloom-release[bot] to auto-approve trusted actors

Closes #77

Signed-off-by: Sebastien Tardif <sebtardif@ncf.ca>
@github-actions github-actions Bot enabled auto-merge (squash) June 6, 2026 05:35
@github-actions github-actions Bot merged commit dfb58f1 into main Jun 6, 2026
19 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

ci: set up GitHub App for release-please identity separation

1 participant