Skip to content

Add a Contributor License Agreement check for pull requests standards for PRs. - #5086

Draft
polybassa wants to merge 1 commit into
secdev:masterfrom
polybassa:cla-workflow
Draft

Add a Contributor License Agreement check for pull requests standards for PRs.#5086
polybassa wants to merge 1 commit into
secdev:masterfrom
polybassa:cla-workflow

Conversation

@polybassa

Copy link
Copy Markdown
Contributor

Every author of a commit in a pull request has to sign the CLA before it can be merged. Signing is a single comment on the pull request; signatures are recorded on an orphan cla-signatures branch and reused for later pull requests, so contributors only ever sign once.

The check is built on actions/github-script instead of contributor-assistant/github-action: that action was archived in March 2026, still runs on the deprecated Node 20 runtime, and the available forks are too small to rely on for a project this size.

Verdicts are published as a CLA commit status rather than as the job's own check, because comment-triggered runs are not associated with the pull request head and would otherwise leave a stale result behind.

CLA.md is adapted from the Apache ICLA v2.0 and still needs a review by legal counsel before the check is made a required one.

AI-Assisted: yes (Claude Opus 5)

Every author of a commit in a pull request has to sign the CLA before it can
be merged. Signing is a single comment on the pull request; signatures are
recorded on an orphan cla-signatures branch and reused for later pull
requests, so contributors only ever sign once.

The check is built on actions/github-script instead of
contributor-assistant/github-action: that action was archived in March 2026,
still runs on the deprecated Node 20 runtime, and the available forks are
too small to rely on for a project this size.

Verdicts are published as a CLA commit status rather than as the job's own
check, because comment-triggered runs are not associated with the pull
request head and would otherwise leave a stale result behind.

CLA.md is adapted from the Apache ICLA v2.0 and still needs a review by
legal counsel before the check is made a required one.

AI-Assisted: yes (Claude Opus 5)
Co-authored-by: Cursor <cursoragent@cursor.com>
@codecov

codecov Bot commented Aug 13, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 80.57%. Comparing base (b1a9799) to head (7d24b1d).

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #5086      +/-   ##
==========================================
+ Coverage   80.05%   80.57%   +0.52%     
==========================================
  Files         390      390              
  Lines       96810    96810              
==========================================
+ Hits        77499    78008     +509     
+ Misses      19311    18802     -509     

see 27 files with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Comment thread .github/workflows/cla.yml

const isBot = (user) =>
!user || user.type === 'Bot' ||
user.login.endsWith('[bot]') || user.login === 'web-flow';

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

hun?

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.

2 participants