Conversation
The workflow set remote-organization-name/remote-repository-name to this same repo, which sends contributor-assistant down its remote-storage path. That path calls getPATOctokit(), which fails the job when PERSONAL_ACCESS_TOKEN is absent — and it runs unconditionally in getFileContent(), after the allowlist filter, so even allowlisted maintainers hit it. Dropping the two inputs makes the action use GITHUB_TOKEN against the current repo, which is the same destination; contents needs write so it can create and update cla-signatures.json on main. workflow-templates/cla.yml carries the identical bug to every repo that adopts the org template, so it gets the same fix. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
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 CLA check has never passed in this repo.
.github/workflows/cla.ymlsetsremote-organization-name/remote-repository-nameto this same repo, which switches contributor-assistant onto its remote-storage path — and that path callsgetPATOctokit(), which fails the job outright whenPERSONAL_ACCESS_TOKENis absent (onlyGITHUB_TOKENis provided, and the repo has no secrets). It happens insidegetFileContent(), which runs unconditionally after the allowlist filter, so allowlisted maintainers fail too — the errors arePlease add a personal access token…followed byCould not retrieve repository contents. Status: unknown.All 12
pull_request_targetruns since 2026-03-09 failed identically, across four branches and every author. Dropping the two inputs points the action at the current repo — the same destination — usingGITHUB_TOKEN, andcontentsmoves towriteso it can create and updatecla-signatures.jsononmain.workflow-templates/cla.ymlis byte-identical and ships the same bug to any repo that adopts the org template, so it gets the same fix.Because
pull_request_targetloads the workflow from the base branch, theclacheck on this PR still runs the broken copy frommainand will be red. After this merges, arecheckcomment on #3 and #4 re-runs them against the fixed workflow and turns them green.🤖 Generated with Claude Code