Skip to content

fix(cla): write CLA signatures to this repo, not a remote (drops PAT requirement)#30

Merged
HBarefoot merged 1 commit into
mainfrom
fix/cla-assistant-remote-token
Jun 7, 2026
Merged

fix(cla): write CLA signatures to this repo, not a remote (drops PAT requirement)#30
HBarefoot merged 1 commit into
mainfrom
fix/cla-assistant-remote-token

Conversation

@HBarefoot

Copy link
Copy Markdown
Owner

The CLA Assistant check fails on every PR (e.g. #29) with:

Please add a personal access token as an environment variable for writing signatures in a remote repository/organization

…and errors out before it evaluates the allowlist, so even allowlisted maintainers can't get a green check.

Cause

.github/workflows/cla.yml passes remote-organization-name: HBarefoot + remote-repository-name: engram. Those inputs make contributor-assistant/github-action target a separate repo for signature storage, which requires a PERSONAL_ACCESS_TOKEN — but the workflow only provides GITHUB_TOKEN.

Fix

Signatures are meant to live on this repo's own cla-signatures branch, so the two remote-* inputs are removed. The default GITHUB_TOKEN (with the existing contents: write permission) can then create/write that branch.

Note on rollout

cla.yml runs on pull_request_target, which always uses the base branch's copy of the workflow. So this fix only takes effect once it's merged to main; afterward, commenting recheck on open PRs (incl. #29) re-runs the check, which will pass for the allowlisted maintainer.

⚠️ This PR's own CLA check will still show red (it runs main's broken copy) — merge via admin; it's safe (authored by the allowlisted maintainer, workflow-only change).

🤖 Generated with Claude Code

…irement)

The CLA Assistant failed on every PR with "Please add a personal access
token as an environment variable for writing signatures in a remote
repository/organization" — before it ever evaluated the allowlist.

`remote-organization-name`/`remote-repository-name` make the action target
a separate repo, which requires a PERSONAL_ACCESS_TOKEN; only GITHUB_TOKEN
was provided. Signatures are meant to land on this repo's own
`cla-signatures` branch, so those two inputs are removed and the default
GITHUB_TOKEN (with the existing contents:write permission) is sufficient.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@HBarefoot HBarefoot merged commit 168cb80 into main Jun 7, 2026
4 of 5 checks passed
@github-actions github-actions Bot locked and limited conversation to collaborators Jun 7, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant