cla-check workflow fails: CLA Assistant cannot write signatures to protected main
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 14
- Forks
- 8
- Avg merge
- 4m
- Merged PRs (30d)
- 3
Description
Summary
The cla-check GitHub Actions workflow (.github/workflows/cla.yml, using contributor-assistant/github-action) fails on PRs with:
Resource not accessible by integration
... the branch where signatures are stored ...
Committers ... have to sign the CLA
The action attempts to commit the CLA signature file to main, but main is protected (and/or the GITHUB_TOKEN lacks write permission to it), so the write is rejected.
Why this is not a code problem in any given PR
This is a repo/org configuration issue, not something an individual feature PR can fix. Notably, the separate license/cla GitHub App status check (microsoft-github-policy-service) passes on PRs, indicating contributors have in fact signed the CLA. The Actions-based cla-check is a redundant, misconfigured second mechanism.
Suggested remediation (pick one)
- Point the CLA Assistant action's signature storage at an unprotected branch (e.g. a dedicated
cla-signaturesbranch), or - Grant the workflow token write access to the signature location via a ruleset bypass / PAT, or
- Remove the redundant
cla-checkActions workflow and rely solely on the passinglicense/claGitHub App.
Evidence
- Observed on PR #20, job: https://github.com/microsoft/cates/actions/runs/27383522482/job/80925498279
license/claGitHub App check passes on the same PR.
This blocks merges that gate on cla-check until the configuration is corrected.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.