Add Contributor License Agreement and CLA signature gate

Introduces CLA.md (individual CLA: contributors keep all rights to their
work, grant the project the right to offer contributions under additional
license terms; includes a written commitment in section 6 that the engine
remains open source) and a CLA Assistant Lite workflow that gates every PR
on a one-comment signature, with signatures stored in-repo on the
cla-signatures branch.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
calesthio
2026-07-18 16:44:11 -07:00
parent af87fc1337
commit 9f8f99e97e
2 changed files with 76 additions and 0 deletions

36
.github/workflows/cla.yml vendored Normal file
View File

@@ -0,0 +1,36 @@
# CLA Assistant Lite — gates every PR on a CLA signature.
# Install at: .github/workflows/cla.yml in the OpenMontage repo.
# Signatures are stored in the repo on the 'cla-signatures' branch (no external service).
name: "CLA Assistant"
on:
issue_comment:
types: [created]
pull_request_target:
types: [opened, closed, synchronize]
permissions:
actions: write
contents: write
pull-requests: write
statuses: write
jobs:
CLAAssistant:
runs-on: ubuntu-latest
steps:
- name: "CLA Assistant"
if: (github.event.comment.body == 'recheck' || github.event.comment.body == 'I have read the CLA Document and I hereby sign the CLA') || github.event_name == 'pull_request_target'
uses: contributor-assistant/github-action@v2.6.1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
path-to-signatures: ".github/cla-signatures/signatures.json"
path-to-document: "https://github.com/calesthio/OpenMontage/blob/main/CLA.md"
branch: "cla-signatures"
allowlist: "calesthio,dependabot[bot],*[bot]"
custom-notsigned-prcomment: >
Thanks for the contribution! Before we can merge, please read our
[Contributor License Agreement](https://github.com/calesthio/OpenMontage/blob/main/CLA.md)
and sign by commenting the sentence below. The engine stays open source forever —
the CLA simply lets the project also offer commercial licensing as it grows.
custom-pr-sign-comment: "I have read the CLA Document and I hereby sign the CLA"