chore: add CLA

This commit is contained in:
Felarof
2025-12-30 13:04:24 -08:00
parent af392c514e
commit f08513c109
2 changed files with 105 additions and 0 deletions

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

@@ -0,0 +1,55 @@
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:
cla:
runs-on: ubuntu-latest
if: |
(github.event_name == 'pull_request_target') ||
(github.event_name == 'issue_comment' && github.event.issue.pull_request &&
(github.event.comment.body == 'recheck' ||
github.event.comment.body == 'I have read the CLA Document and I hereby sign the CLA'))
steps:
- name: CLA Assistant
uses: contributor-assistant/github-action@v2.6.1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
path-to-signatures: '.github/cla-signatures.json'
path-to-document: 'https://github.com/${{ github.repository }}/blob/main/CLA.md'
branch: 'main'
allowlist: 'bot*,*[bot],dependabot,renovate,github-actions,snyk-bot,imgbot,greenkeeper,semantic-release-bot,allcontributors'
lock-pullrequest-aftermerge: false
custom-notsigned-prcomment: |
Thank you for your contribution! Before we can merge this PR, we need you to sign our [Contributor License Agreement](https://github.com/${{ github.repository }}/blob/main/CLA.md).
**To sign the CLA**, please add a comment to this PR with the following text:
```
I have read the CLA Document and I hereby sign the CLA
```
You only need to sign once. After signing, this check will pass automatically.
---
<details>
<summary>Troubleshooting</summary>
- **Already signed but still failing?** Comment `recheck` to trigger a re-verification.
- **Signed with a different email?** Make sure your commit email matches your GitHub account email, or add your commit email to your GitHub account.
</details>
custom-pr-sign-comment: 'I have read the CLA Document and I hereby sign the CLA'
custom-allsigned-prcomment: |
All contributors have signed the CLA. Thank you!

50
CLA.md Normal file
View File

@@ -0,0 +1,50 @@
# Contributor License Agreement
Thank you for your interest in contributing to BrowserOS Server.
This Contributor License Agreement ("Agreement") documents the rights granted by contributors to this project. This is a legally binding document, so please read it carefully before agreeing.
## 1. Definitions
"You" (or "Your") means the individual who submits a Contribution to this project.
"Contribution" means any original work of authorship, including any modifications or additions to an existing work, that you submit to this project.
"Project" means BrowserOS Server and related repositories maintained under the same organization.
## 2. Grant of Copyright License
You hereby grant to the Project maintainers and to recipients of software distributed by the Project a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare derivative works of, publicly display, publicly perform, sublicense, and distribute your Contributions and such derivative works.
## 3. Grant of Patent License
You hereby grant to the Project maintainers and to recipients of software distributed by the Project a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable patent license to make, have made, use, offer to sell, sell, import, and otherwise transfer the Contribution, where such license applies only to those patent claims licensable by you that are necessarily infringed by your Contribution alone or by combination of your Contribution with the Project.
## 4. Your Representations
You represent that:
- You are legally entitled to grant the above licenses.
- Each of your Contributions is your original creation.
- Your Contribution does not violate any third party's copyrights, trademarks, patents, or other intellectual property rights.
- If your employer has rights to intellectual property that you create, you have received permission to make the Contribution on behalf of that employer, or your employer has waived such rights for your Contribution.
## 5. No Warranty
You provide your Contributions on an "AS IS" basis, without warranties or conditions of any kind, either express or implied, including without limitation any warranties or conditions of title, non-infringement, merchantability, or fitness for a particular purpose.
## 6. Agreement
By signing this Agreement, you accept and agree to the terms and conditions of this Contributor License Agreement for your present and future Contributions submitted to the Project.
---
## How to Sign
To sign this CLA, add a comment to your pull request with the following text:
```
I have read the CLA Document and I hereby sign the CLA
```
You only need to sign once. After signing, all your future contributions to this project will be covered.