diff --git a/.github/workflows/cla.yml b/.github/workflows/cla.yml index 4010370..1e6ea61 100644 --- a/.github/workflows/cla.yml +++ b/.github/workflows/cla.yml @@ -2,6 +2,9 @@ # SPDX-License-Identifier: AGPL-3.0-only # Created by riko chen on 2026-10-20 +# Every OpenXPlay repository runs this check against one signature list (OpenXPlay/cla-signatures), +# so a contributor accepts the CLA once, by replying on any pull request, for all of them. + name: CLA on: @@ -12,7 +15,7 @@ on: permissions: actions: write - contents: write + contents: read pull-requests: write statuses: write @@ -28,8 +31,12 @@ jobs: uses: contributor-assistant/github-action@v2.6.1 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + # Organization secret: a fine-grained token with Contents read/write on cla-signatures only. + PERSONAL_ACCESS_TOKEN: ${{ secrets.CLA_SIGNATURES_TOKEN }} with: - path-to-document: https://github.com/OpenXPlay/OpenXPlay-Flasher/blob/main/CLA.md - path-to-signatures: signatures/v1/cla.json - branch: cla-signatures + path-to-document: https://github.com/OpenXPlay/OpenXPlay/blob/main/CLA.md + remote-organization-name: OpenXPlay + remote-repository-name: cla-signatures + path-to-signatures: signatures/cla.json + branch: main allowlist: riko2chen,dependabot[bot] diff --git a/CLA.md b/CLA.md deleted file mode 100644 index e7b2116..0000000 --- a/CLA.md +++ /dev/null @@ -1,83 +0,0 @@ -# OpenXPlay-Flasher Individual Contributor License Agreement - -Version 1.0 - -This agreement is between you and riko chen (the "Maintainer"), who maintains OpenXPlay-Flasher -(the "Project") under the name OpenXPlay.org. It sets out the terms under which the Maintainer -accepts your Contributions. Except for the licenses granted here, you keep all right, title and -interest in your Contributions. - -## 1. Definitions - -"You" means the individual who accepts this agreement. - -"Contribution" means any original work of authorship, including any modification of or addition to -an existing work, that you intentionally Submit to the Project for inclusion in it. - -"Submit" means any form of electronic or written communication sent to the Project or its -Maintainer, including pull requests, patches, issues and email, but excluding communication that -you conspicuously mark in writing as "Not a Contribution". - -## 2. Copyright license - -You grant the Maintainer and recipients of software distributed by the Maintainer a perpetual, -worldwide, non-exclusive, no-charge, royalty-free, irrevocable license to reproduce, prepare -derivative works of, publicly display, publicly perform, sublicense and distribute your -Contributions and such derivative works. - -This license includes the right to license your Contributions, alone or as part of the Project, -under any terms the Maintainer chooses, including the GNU Affero General Public License v3.0 and -terms that grant exemptions from its obligations. - -## 3. Patent license - -You grant the Maintainer and recipients of software distributed by the Maintainer a perpetual, -worldwide, non-exclusive, no-charge, royalty-free, irrevocable (except as stated in this section) -patent license to make, have made, use, offer to sell, sell, import and otherwise transfer your -Contributions. This license applies only to patent claims licensable by you that are necessarily -infringed by your Contribution alone or by the combination of your Contribution with the Project -to which you Submitted it. - -If any entity institutes patent litigation against you or any other entity, including a -cross-claim or counterclaim in a lawsuit, alleging that your Contribution, or the Project to which -you contributed, constitutes direct or contributory patent infringement, then any patent licenses -granted to that entity under this agreement for that Contribution terminate as of the date such -litigation is filed. - -## 4. Your representations - -You represent that: - -1. You are legally entitled to grant the licenses above. -2. Each Contribution is your original creation, except for material you identify under item 4. -3. If your employer or anyone else has rights to intellectual property in your Contributions, you - have received permission to make the Contributions on their behalf, or they have waived such - rights for your Contributions. -4. When you Submit work that is not your original creation, you Submit it separately from any - Contribution, identify its source and any license or other restriction you know of, and mark it - conspicuously as third-party material. - -You agree to notify the Maintainer of any facts or circumstances that would make these -representations inaccurate in any respect. - -## 5. No other obligations - -The Maintainer is not obliged to use or include your Contributions. You are not expected to -provide support for your Contributions, except to the extent you choose to. - -Except as stated in section 4, you provide your Contributions "as is", without warranties or -conditions of any kind, either express or implied, including warranties or conditions of title, -non-infringement, merchantability or fitness for a particular purpose. - -## 6. Succession - -The Maintainer may transfer this agreement, together with the rights granted under it, to any -person or legal entity that takes over maintenance of the Project. - -## 7. Acceptance - -You accept this agreement by posting the comment requested by the CLA Assistant check on your -pull request. Your acceptance applies to all of your past and future Contributions to the Project. - -To contribute on behalf of an organization that owns rights in your work, contact -[support@openxplay.org](mailto:support@openxplay.org) for a corporate agreement before you Submit. diff --git a/README-zh.md b/README-zh.md index adeb155..5308e94 100644 --- a/README-zh.md +++ b/README-zh.md @@ -55,7 +55,7 @@ make web # 在本机浏览器中打开页面,便于开发界面 ## 参与贡献 -贡献须遵循[贡献者许可协议](./CLA.md)(协议文本为英文)。每个 pull request 上的 CLA Assistant 检查会记录你对协议的接受。 +贡献须遵循 [OpenXPlay 贡献者许可协议](https://github.com/OpenXPlay/OpenXPlay/blob/main/CLA.md)(协议文本为英文)。在任意一个 OpenXPlay 仓库的 pull request 里按提示回复一次即可,之后所有仓库的 CLA 检查都会通过。 ## 许可证 diff --git a/README.md b/README.md index 1997d23..129de82 100644 --- a/README.md +++ b/README.md @@ -85,8 +85,9 @@ make web # serve the page to a browser on this computer, for UI work ## Contributing -Contributions are accepted under the [Contributor License Agreement](./CLA.md). The CLA Assistant -check on each pull request records your acceptance. +Contributions are accepted under the [OpenXPlay Contributor License Agreement](https://github.com/OpenXPlay/OpenXPlay/blob/main/CLA.md). Accept it +once by replying on a pull request to any OpenXPlay repository; the CLA check then passes in all of +them. ## License diff --git a/REUSE.toml b/REUSE.toml index 8832cdd..03e968a 100644 --- a/REUSE.toml +++ b/REUSE.toml @@ -9,7 +9,6 @@ version = 1 [[annotations]] path = [ ".gitignore", - "CLA.md", "NOTICE", "README.md", "README-zh.md",