All external pull requests across the NativeScript GitHub organization require a signed Contributor License Agreement before merging. Contributors retain copyright in their work while granting the license described in the agreement.
- Individuals: Individual Contributor License Agreement (ICLA v2.0)
- Organizations / Employers: Corporate Contributor License Agreement (CCLA)
-
Open your pull request in any
NativeScriptrepository. -
Read the Individual CLA.
-
Post a comment on the pull request with the exact text:
I have read the CLA and I hereby sign the CLA -
That comment immediately satisfies the
✍️ CLAstatus check on your pull request (only when posted by the pull request author or commit author). A bystander comment cannot sign on behalf of another contributor.
- Signing once covers past, present, and future contributions from your GitHub account across every repository in
github.com/NativeScript. - Previous signers of the OpenJS Foundation NativeScript CLA have already been migrated into
cla-signers.jsonon thecla-signaturesbranch and will pass automatically. - After your pull request merges, our workflow automatically records your GitHub username on the
cla-signaturesbranch so future pull requests pass silently with zero extra steps. - Because signer records are read from the protected
cla-signaturesbranch (never from the pull request branch), editingcla-signers.jsoninside a pull request does not pass the check.
If an employer or legal entity owns the contribution and requires a corporate agreement rather than individual sign-off under Section 4 of the ICLA, follow the steps in the Corporate CLA guide via operations@openjsf.org.
If a commit in your pull request was authored with a local git config user.email address that is not registered on your GitHub account, GitHub cannot associate that commit with your GitHub username. To resolve it:
- Add the commit email address to your GitHub account at github.com/settings/emails, or amend the commit author (
git commit --amend --reset-author) using your GitHub-verified email and force-push your branch. - Comment
I have read the CLA and I hereby sign the CLAif you have not yet signed.
The following accounts are allowlisted in cla-signers.json and pass automatically:
- Active
NativeScriptorganization maintainers and service accounts listed inallowlist.github - Automated GitHub accounts ending in
[bot]or prefixed withapp/(e.g.,dependabot[bot],github-actions[bot])
-
Do not merge a pull request while the
✍️ CLAcheck is failing. -
Individual signatures are recorded automatically on
cla-signatureswhen a pull request merges and synced org-wide toNativeScript/.github@cla-signatures(you can also trigger theSync Org CLA Signersworkflow manually viaworkflow_dispatch). -
Recording a Corporate CLA: Add authorized GitHub usernames to
cla-signers.jsonon thecla-signaturesbranch ofNativeScript/.githubwith"signedAt": "YYYY-MM-DD"and"cla": "corporate". -
Carrying commits from a superseded PR: If a contributor signed on an earlier closed pull request and a maintainer carries their commits into a new pull request, record their original signing comment onto
NativeScript/.github@cla-signatures:git fetch origin cla-signatures:refs/remotes/origin/cla-signatures git worktree add --detach ../cla-signatures origin/cla-signatures node scripts/check-cla.mjs --signers ../cla-signatures/cla-signers.json --record-signer <login> --signed-at <YYYY-MM-DD> --comment-file <comment-body-file> git -C ../cla-signatures commit -am "chore(cla): record @<login> from #<pr>" git -C ../cla-signatures push origin HEAD:cla-signatures git worktree remove ../cla-signatures