Repository navigation
Conversation
token-access.yaml fetches every managed repository with AUTOMATION_TOKEN and with ADMIN_TOKEN, and fails naming any that a token cannot reach. It runs on pull requests that change repos.jsonnet, so a new repository cannot be added to the list before both tokens include it. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
benbirt
force-pushed
the
token-access
branch
from
November 29, 2026 19:54
5c96787 to
e30a8e0
Compare
Owner
Author
|
Closing: fine-grained tokens can read every public repository whatever their access, so this check would not have caught the gap, and a repository defined in the list does not exist yet on its pull request. The automation token now has access to all repositories instead. |
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.
Follow-up to today's failed Dependabot auto-merge run:
benbirt/posthogwas added to the list (#27) beforeAUTOMATION_TOKENincluded it, and the hourly run failed on it withGraphQL: Resource not accessible by personal access token (mergePullRequest). A rerun succeeded once the token's access had been updated.token-access.yaml(new) fetches each managed repository with each token, and fails with one error per gap, for example:mainthat changerepos.jsonnet, daily at 06:11 UTC, and by hand. On a pull request that adds a repository, the check goes red until both tokens include it. It is not a required check, so it does not block the merge on its own.Testing
Locally, the same loop with both tokens reaches all 11 managed repositories, and
gh apifails (exit 1) for a repository a token cannot reach. actionlint passes. This pull request touches the workflow, so its own run is the first test.The comments and README sentences were written by Neon.
🤖 Generated with Claude Code