Skip to content

fix(cla): store signatures off master, where a bot can write them - #3

Merged
Mikhus merged 1 commit into
masterfrom
ci/cla-signatures-branch
Sep 8, 2026
Merged

fix(cla): store signatures off master, where a bot can write them#3
Mikhus merged 1 commit into
masterfrom
ci/cla-signatures-branch

Conversation

@Mikhus

@Mikhus Mikhus commented Sep 8, 2026

Copy link
Copy Markdown
Member

CLA Assistant records a signature by committing signatures/version1/cla.json directly to the branch it is pointed at — no pull request, no checks. That branch was master, which a ruleset covers, so the write is rejected:

Error occurred when creating the signed contributors file: Repository rule violations found
. Make sure the branch where signatures are stored is NOT protected.

The consequence is not cosmetic: the signature is never stored, the cla check stays red for the contributor, and re-signing cannot help. No outside contribution can be merged.

Signatures now go to the unprotected cla-signatures branch — an orphan branch holding that one file plus a README saying why it sits off to the side, so nobody later "tidies it up" by protecting it. There was no signatures/version1/cla.json on master to migrate; no write had ever succeeded.

This PR's own cla check will still failpull_request_target runs the workflow from the base branch, so it uses the old config. The fix applies from the first PR opened after this merges.

Same change as imqueue/redis-broker#2, rolled across every @imqueue repository with a CLA workflow and a protected default branch.

CLA Assistant records a signature by committing `signatures/version1/cla.json`
directly to the branch it is pointed at. That branch was `master`, which a
ruleset covers: every push needs a status check, and a bot commit carries none.
So the write was rejected — "Repository rule violations found" — the signature
was never stored, the check stayed red, and no outside contribution could be
merged. The action's own error says it: the branch where signatures are stored
must not be protected.

Signatures now live on the unprotected `cla-signatures` branch, which holds that
one file and a README explaining why it is off to the side.
@github-actions

github-actions Bot commented Sep 8, 2026

Copy link
Copy Markdown

Thank you for your contribution to @imqueue. Before this pull request can be merged, please read the @imqueue Contribution Terms and sign them by posting the following comment exactly:


I have read the CLA Document and I hereby sign the CLA


You can retrigger this bot by commenting recheck in this Pull Request. Posted by the CLA Assistant Lite bot.

@Mikhus
Mikhus merged commit e46969a into master Sep 8, 2026
9 of 10 checks passed
@Mikhus
Mikhus deleted the ci/cla-signatures-branch branch September 8, 2026 19:18
@github-actions github-actions Bot locked and limited conversation to collaborators Sep 8, 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