docs(cla): add Contributor License Agreement and GitHub Actions workflow
This commit is contained in:
41
.github/workflows/cla.yml
vendored
Normal file
41
.github/workflows/cla.yml
vendored
Normal file
@@ -0,0 +1,41 @@
|
|||||||
|
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
|
||||||
|
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: 'signatures/cla.json'
|
||||||
|
path-to-document: 'https://github.com/code-yeongyu/oh-my-opencode/blob/master/CLA.md'
|
||||||
|
branch: 'main'
|
||||||
|
allowlist: bot*,dependabot*,github-actions*,*[bot]
|
||||||
|
custom-notsigned-prcomment: |
|
||||||
|
Thank you for your contribution! Before we can merge this PR, we need you to sign our [Contributor License Agreement (CLA)](https://github.com/code-yeongyu/oh-my-opencode/blob/master/CLA.md).
|
||||||
|
|
||||||
|
**To sign the CLA**, please comment on this PR with:
|
||||||
|
```
|
||||||
|
I have read the CLA Document and I hereby sign the CLA
|
||||||
|
```
|
||||||
|
|
||||||
|
This is a one-time requirement. Once signed, all your future contributions will be automatically accepted.
|
||||||
|
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! ✅
|
||||||
|
lock-pullrequest-aftermerge: false
|
||||||
58
CLA.md
Normal file
58
CLA.md
Normal file
@@ -0,0 +1,58 @@
|
|||||||
|
# Contributor License Agreement
|
||||||
|
|
||||||
|
Thank you for your interest in contributing to oh-my-opencode ("Project"), owned by YeonGyu Kim ("Owner").
|
||||||
|
|
||||||
|
By signing this Contributor License Agreement ("Agreement"), you agree to the following terms:
|
||||||
|
|
||||||
|
## 1. Definitions
|
||||||
|
|
||||||
|
- **"Contribution"** means any original work of authorship, including any modifications or additions to existing work, that you submit to the Project.
|
||||||
|
- **"Submit"** means any form of communication sent to the Project, including but not limited to pull requests, issues, commits, and documentation changes.
|
||||||
|
|
||||||
|
## 2. Grant of Rights
|
||||||
|
|
||||||
|
By submitting a Contribution, you grant the Owner:
|
||||||
|
|
||||||
|
1. **Copyright License**: 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.
|
||||||
|
|
||||||
|
2. **Patent License**: 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.
|
||||||
|
|
||||||
|
3. **Relicensing Rights**: The right to relicense the Contribution under any license, including proprietary licenses, without requiring additional permission from you.
|
||||||
|
|
||||||
|
## 3. Representations
|
||||||
|
|
||||||
|
You represent that:
|
||||||
|
|
||||||
|
1. You are legally entitled to grant the above licenses.
|
||||||
|
2. Each Contribution is your original creation or you have sufficient rights to submit it.
|
||||||
|
3. Your Contribution does not violate any third party's intellectual property rights.
|
||||||
|
4. If your employer has rights to intellectual property that you create, you have received permission to make Contributions on behalf of that employer.
|
||||||
|
|
||||||
|
## 4. No Obligation
|
||||||
|
|
||||||
|
You understand that:
|
||||||
|
|
||||||
|
1. The Owner is not obligated to use or include your Contribution.
|
||||||
|
2. The decision to include any Contribution is at the sole discretion of the Owner.
|
||||||
|
3. You are not entitled to any compensation for your Contributions.
|
||||||
|
|
||||||
|
## 5. Future License Changes
|
||||||
|
|
||||||
|
You acknowledge and agree that:
|
||||||
|
|
||||||
|
1. The Project may change its license in the future.
|
||||||
|
2. Your Contributions may be distributed under a different license than the one in effect at the time of your Contribution.
|
||||||
|
3. This includes, but is not limited to, relicensing under source-available or proprietary licenses.
|
||||||
|
|
||||||
|
## 6. Miscellaneous
|
||||||
|
|
||||||
|
- This Agreement is governed by the laws of the Republic of Korea.
|
||||||
|
- This Agreement represents the entire agreement between you and the Owner concerning Contributions.
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## How to Sign
|
||||||
|
|
||||||
|
By submitting a pull request to this repository, you agree to the terms of this Contributor License Agreement. The CLA Assistant bot will automatically track your agreement.
|
||||||
|
|
||||||
|
If you have any questions, please open an issue or contact the Owner.
|
||||||
Reference in New Issue
Block a user