Repository navigation
Conversation
The update workflow checked out, pushed its branch and opened its PR with PAT_TOKEN, which lost access to the org's internal repos on 2026-11-30. Mint a token from the anuma-ci-bot App, scoped to this repo, instead. A push made with an App token still triggers CI on the PR. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01SCActPKUhKySvTsKR8gA21
morde08
marked this pull request as ready for review
November 30, 2026 23:36
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01SCActPKUhKySvTsKR8gA21
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The update workflow pushed its branch and opened its PR with
PAT_TOKEN, which lost access to the org's internal repos on 2026-11-30. It now mints a token from theanuma-ci-botApp, scoped to this repo; a push made with an App token still triggers CI on the PR.Before merge:
ANUMA_CI_BOT_APP_ID(org variable) andANUMA_CI_BOT_PRIVATE_KEY(org secret) must be visible to this repo, and the App installed on it. Same change as anuma-ai/sdk#1356.After merge, the
PAT_TOKENrepo secret can be deleted.Note
Low Risk
CI-only credential swap; requires the bot App to be installed and org vars/secrets exposed to this repo before merge.
Overview
The scheduled Update SDK workflow no longer uses the repo
PAT_TOKENfor checkout, push, andghPR operations.It adds a first step that mints a token via
actions/create-github-app-token@v3.4.0using orgANUMA_CI_BOT_APP_IDandANUMA_CI_BOT_PRIVATE_KEY, and wires that token intoactions/checkoutandGH_TOKENfor the create/update PR step so automated SDK bumps keep working after PAT access to internal org repos was removed.Reviewed by Cursor Bugbot for commit f973047. Configure here.