Skip to content

ci(cla): friendlier first comment from the CLA bot (needs owner OK) - #3724

Merged
devswha merged 1 commit into
mainfrom
ci/cla-friendlier-comment
Nov 12, 2026
Merged

devswha merged 1 commit into
mainfrom
ci/cla-friendlier-comment

Conversation

@devswha

@devswha devswha commented Nov 12, 2026

Copy link
Copy Markdown
Owner

Summary

Rewrites only the CLA bot's first comment (custom-notsigned-prcomment in .github/workflows/cla.yml) so it reads friendlier: thanks first, one plain sentence on what signing means (matching CLA.md), the sign phrase shown once, and "you sign once, it covers all your later pull requests here".

Nothing else changes: the phrase people sign (custom-pr-sign-comment), CLA.md, the allowlist, the triggers and when the check is required all stay as they are. The other action inputs and steps are byte-identical.

Why the phrase is no longer in our text: contributor-assistant/github-action v2.6.1 always appends the sign phrase between two rules after the custom comment (src/pullrequest/pullRequestCommentContent.ts), so the old comment showed it twice. The new text points at "the line below" instead. The action also appends its own recheck hint, so the old "Comment recheck" sentence is dropped as a duplicate.

Old and new comment

BeforeAfter

Thank you for your contribution! Before we can merge this PR, every commit author needs to sign our Contributor License Agreement (CLA).

To sign the CLA, comment on this PR with:

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

You sign once, and it covers your later pull requests. Comment recheck to run the check again.

Thanks for your contribution!

Before we can merge it, each commit author needs to sign our Contributor License Agreement once. Signing means you keep the copyright in your work and give the maintainer a license to use, change and distribute it, under any license terms.

To sign, comment on this pull request with the line below, exactly as written. You sign once, and it covers all your later pull requests here.

Both are followed by what the action appends itself:

- - -
I have read the CLA Document and I hereby sign the CLA
- - -
<sub>You can retrigger this bot by commenting **recheck** in this Pull Request.</sub> <sub>Posted by the **CLA Assistant Lite bot**.</sub>

The meaning sentence follows CLA.md: the preamble ("you keep the copyright in your Contribution"), section 2 (copyright license to reproduce, prepare derivative works and distribute) and section 4 (the Maintainer may license Contributions under any license terms).

Validation

  • bun run check fast: exit 0 (workflow syntax, generated types/themes, typecheck, build, unit tests 16162 pass / 0 fail).
  • YAML parsed with Bun.YAML.parse before and after: every key of the action's with: block is the same and only custom-notsigned-prcomment differs; the rest of the workflow is identical.
  • actionlint (rhysd/actionlint Docker image) on .github/workflows/cla.yml: exit 0, no findings.
  • Not run: the workflow itself (it runs from main on pull_request_target, so the new text shows on the first PR opened after merge).

No changelog fragment: this changes no shipped behaviour of Ovis.

@coderabbitai

coderabbitai Bot commented Nov 12, 2026 •

Copy link
Copy Markdown

Explain Change →

No actionable comments were generated in the recent review.

Summary

Summary by CodeRabbit

  • Documentation
    • Updated unsigned-PR guidance to clarify that signing preserves copyright while granting permission to use, modify, and distribute the contribution.
    • Commit authors are now instructed to post the exact sign phrase once. The phrase itself is unchanged, and the prior recheck instruction is no longer included.

The CLA workflow’s unsigned-PR comment now explains the license granted and instructs commit authors to post the configured sign phrase once. The comment no longer includes a phrase code block or a recheck instruction.

Changes: CLA comment

Layer / File(s) Summary
Update unsigned-PR instructions
.github/workflows/cla.yml
The comment explains retained copyright and the license granted. It asks commit authors to post the configured sign phrase once, and removes the phrase code block and recheck instruction.

Estimated code review effort: 1 (Trivial) | ~5 minutes

Change: Other

Merge Risk: Minimal · up to 53b85

This only changes the wording of the CLA bot's first comment on pull requests. The signing mechanism and CLA requirements are unchanged, so the risk of merging is minimal.

Pre-merge checks: Passed 4

Check name Status Explanation
Title check Passed The title names the main change: a friendlier first comment from the CLA bot in the CI workflow. The title does not cover every detail, and it notes that the change needs owner approval, which is cont…
Description check Passed The description follows the template's intent. It explains the change and the reason for it, and it gives the before and after comment text. The Validation section lists the checks run (bun run check …
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Full details: Title check

Explanation

The title names the main change: a friendlier first comment from the CLA bot in the CI workflow. The title does not cover every detail, and it notes that the change needs owner approval, which is context for reviewers and not part of the code change. The title is specific and matches the changeset.

Full details: Description check

Explanation

The description follows the template's intent. It explains the change and the reason for it, and it gives the before and after comment text. The Validation section lists the checks run (bun run check fast, YAML comparison, actionlint) and states that the workflow itself was not run. It does not follow the template's Change heading exactly, and it does not link an agreed issue. The template asks for a linked issue for features only, and this is a CI text change, so that gap is minor.

Finishing Touches

Generate unit tests (beta)

  • Commit to this branch
  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

Recent review info

Run configuration

Commits

Reviewing files that changed from the base of the PR and between 8604d29 and 53b8597.

Files selected for processing: 1

  • .github/workflows/cla.yml

Included review availability: This review used your included allowance. Your plan provides up to 8 included reviews per hour; 5 remain after this review.

@devswha
devswha merged commit 2984fc8 into main Nov 12, 2026
13 checks passed
@devswha
devswha deleted the ci/cla-friendlier-comment branch November 12, 2026 06:04
@devswha

devswha commented Nov 12, 2026

Copy link
Copy Markdown
Owner Author

Merge pass

Merged head 53b859703fbc as 2984fc828ddd on GitHub's checks, with no unresolved review threads.

Reviewer Verdict Note
claude CLEAR
codex CLEAR

A workflow change (.github/workflows/cla.yml), so two reviewers: Claude (Opus) CLEAR, Codex Terra CLEAR with no findings. The maintainer approved keeping the CLA and softening the bot's first comment on 2026-11-12.

Only the text of the CLA bot's first comment changes (custom-notsigned-prcomment): it now says in plain words what signing means. The triggers, the job's condition, the account check, the action's pin, the sentence people sign and the allowlist are the same. The Opus reviewer read the action's source at the pinned version: it appends the signing sentence and the recheck hint after this text by itself, so taking them out of the text loses nothing.

Left, both LOW (Claude, read): the plain summary names the copyright licence only, not the patent licence (CLA.md section 3), the right to transfer the agreement (section 6) or that it covers earlier unmerged pull requests (section 10); and the signing sentence is no longer in a code block, so it has no copy button.

The merge pass reads the bot's comment on the next outside pull request once, to see it as intended.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant