Skip to content

Conversation

@saimonkat
Copy link
Collaborator

@saimonkat saimonkat commented May 27, 2025

This PR brings a Contributor License Agreement (CLA) document
and corresponding github action using CLA Assistant library

Signature Flow

1. Pull Request event triggers CLA Workflow
CLA action workflow will be triggered on all Pull Request opened, synchronize, closed. This workflow will always run in the base repository and that's why we are making use of the pull_request_target event.
When the CLA workflow is triggered on pull request closed event, it will lock the Pull Request conversation after the Pull Request merge so that the contributors cannot modify or delete the signatures (Pull Request comment) later. This feature is optional.

image

2. Signing the CLA
CLA workflow creates a comment on Pull Request asking contributors who have not signed CLA to sign and also fails the pull request status check with a failure. The contributors are requested to sign the CLA within the pull request by copy and pasting "I have read the CLA Document and I hereby sign the CLA" as a Pull Request comment like below. If the contributor has already signed the CLA, then the PR status will pass with success.

image

image

3. Signatures stored in a JSON file
After the contributor signed a CLA, the contributor's signature with metadata will be pushed to main and stored in a JSON file signatures/cla.json.

image

@vercel
Copy link

vercel bot commented May 27, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
neon-next ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 28, 2025 9:52am

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