Skip to content

feat(cla): org-wide GitHub Actions CLA workflow and legal docs - #5

Merged
NathanWalker merged 1 commit into
masterfrom
chore/cla-workflow
Nov 22, 2026
Merged

NathanWalker merged 1 commit into
masterfrom
chore/cla-workflow

Conversation

@NathanWalker

Copy link
Copy Markdown
Contributor

Summary

Replaces the defunct external cla-bot / Google Form setup across github.com/NativeScript with a fast, self-contained GitHub Actions CLA workflow modeled after kody-hq/kody's ✍️ CLA workflow — adapted to operate org-wide from NativeScript/.github:

  • In-PR 1-comment signing (I have read the CLA and I hereby sign the CLA):
    • pull_request_target (trusted checkouts only — never checks out or executes PR head code) checks PR author + commit authors against the org-wide cla-signers.json on the cla-signatures branch + signing comments.
    • Posts clear signing instructions (<!-- nativescript-cla-check -->) when unsigned, including actionable diagnostics when a commit's git email is not linked to a GitHub account.
    • issue_comment (📝 Record CLA) immediately acknowledges valid signing comments (<!-- nativescript-cla-recorded:... -->) and automatically re-runs ✍️ CLA so the status check turns green within seconds.
    • record-on-merge (📝 Record CLA after merge) records new signers to cla-signatures upon merge (with bounded retries + self-healing scan of the last 50 merges), and sync-org-cla.yml sweeps new signers across NativeScript/* repos into NativeScript/.github@cla-signatures so signing once covers all NativeScript repositories.
  • Hosted OpenJS Foundation CLA docs:
    • CLA.md — contributor & maintainer guide
    • docs/legal/individual-cla.md — OpenJS Foundation NativeScript Individual CLA v2.0
    • docs/legal/corporate-cla.md — OpenJS Foundation NativeScript Corporate CLA instructions (operations@openjsf.org)
  • Historical OpenJS CLA signers preserved:
    • cla-signatures branch seeded with 228 cleaned/normalized historical OpenJS CLA signers (fixing malformed @username, github.com/..., trailing whitespace, Unicode ․, and numeric username entries from the legacy sheet) + org allowlist.
  • Automated unit tests: scripts/check-cla.test.mjs verified in CI via .github/workflows/test-cla.yml.

Merge order note: Merge this PR first so NativeScript/.github/.github/workflows/cla.yml@master is available before merging the caller .github/workflows/cla.yml PRs across downstream NativeScript/* repositories.

@coderabbitai

coderabbitai Bot commented Nov 22, 2026

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 5e29b7e5-e848-4f75-bc26-94425ae5cbb2

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • Trigger review
  • 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

This was referenced Nov 22, 2026
This was referenced Nov 22, 2026
@NathanWalker
NathanWalker merged commit 95520fe into master Nov 22, 2026
2 checks passed
@NathanWalker
NathanWalker deleted the chore/cla-workflow branch November 22, 2026 19:37
NathanWalker added a commit to NativeScript/android that referenced this pull request Nov 22, 2026
## PR Checklist

- [x] The PR title follows our guidelines:
https://github.com/NativeScript/NativeScript/blob/main/tools/notes/CONTRIBUTING.md#commit-messages.
- [x] You have read and signed the
[CLA](https://github.com/NativeScript/.github/blob/master/CLA.md).
- [x] All existing tests are passing.

## Summary

- Adds `.github/workflows/cla.yml` calling the centralized
`NativeScript/.github` `✍️ CLA` workflow
(NativeScript/.github#5) for instant in-PR
comment signing (`I have read the CLA and I hereby sign the CLA`) and
shared org-wide signer records.
- Updates CLA links/instructions in `CONTRIBUTING.md`.

> **Merge order:** Merge NativeScript/.github#5
first before merging this PR.

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

<!-- coderabbit-ai-generated:v1 -->

## Summary by CodeRabbit

* **Contributor Guidance**
* Updated contribution instructions with the NativeScript Contributor
License Agreement and steps for first-time contributors to sign it on
their pull request.
  * Pull requests without a signed agreement cannot be accepted.
* **Workflow**
* Added automated checks for contributor agreement status on pull
requests, including when contributors sign by commenting.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->
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