Skip to content

feat: Add CLA (Contributor License Agreement) support for PRs#27

Merged
OrenZhang merged 4 commits intomasterfrom
copilot/fix-26
Jul 2, 2025
Merged

feat: Add CLA (Contributor License Agreement) support for PRs#27
OrenZhang merged 4 commits intomasterfrom
copilot/fix-26

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Jul 2, 2025

This PR implements a Contributor License Agreement (CLA) system to ensure all contributors explicitly agree that their contributions are licensed under the project's MIT license.

Changes Made

1. Created CLA.md Documentation

  • Bilingual support: Comprehensive CLA document in both Chinese and English
  • Clear explanation: Details what a CLA is and why it's needed
  • MIT License alignment: Explicitly states contributions will be licensed under MIT
  • User-friendly: Provides clear instructions on how to agree to the terms

2. Updated PR Template

  • Mandatory CLA checkbox: Added required checkbox for CLA agreement in .github/pull_request_template.md
  • Integrated workflow: CLA agreement is now part of the standard PR checklist alongside the existing Code of Conduct requirement
  • Clear messaging: Checkbox text explicitly mentions MIT license to avoid confusion

Benefits

  • Legal clarity: Provides clear legal framework for contributions
  • Community protection: Protects both contributors and the linux.do community
  • Compliance: Ensures all future contributions have explicit license agreement
  • Transparency: Makes licensing terms clear and accessible to all contributors

Verification

  • ✅ All existing license checks still pass
  • ✅ Go code compilation successful
  • ✅ No breaking changes to existing workflows
  • ✅ CLA.md properly links to existing LICENSE file

The implementation follows the project's existing patterns and maintains compatibility with all current workflows while adding the requested CLA functionality.

Fixes #26.


💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

@OrenZhang
Copy link
Copy Markdown
Contributor

  1. 在 PR 模板中增加对 CLA 协议的赞同 checkbox @copilot
  2. ISSUE 模板修改为纯小写的 feature 和 bug

Copilot AI changed the title [WIP] feature: CLA feat: Add CLA (Contributor License Agreement) support for PRs Jul 2, 2025
Copilot AI requested a review from OrenZhang July 2, 2025 13:47
@OrenZhang OrenZhang marked this pull request as ready for review July 2, 2025 13:48
Copy link
Copy Markdown
Contributor Author

Copilot AI commented Jul 2, 2025

  1. 在 PR 模板中增加对 CLA 协议的赞同 checkbox @copilot
  2. ISSUE 模板修改为纯小写的 feature 和 bug

已完成:

  1. PR 模板已包含 CLA 协议同意 checkbox(之前已添加)
  2. ISSUE 模板标题已修改为小写的 "bug: " 和 "feature: "

提交 712fb91 完成了 ISSUE 模板的小写修改。

Copilot AI requested a review from OrenZhang July 2, 2025 13:50
@OrenZhang
Copy link
Copy Markdown
Contributor

@copilot CODE_OF_CONDUCT 里再增加一些对于代码性能的约定,如果性能有下降将拒绝合并 PR

Copy link
Copy Markdown
Contributor Author

Copilot AI commented Jul 2, 2025

@copilot CODE_OF_CONDUCT 里再增加一些对于代码性能的约定,如果性能有下降将拒绝合并 PR

已添加代码性能准则到 CODE_OF_CONDUCT.md 中,包含性能标准、测试要求以及对性能下降 PR 的拒绝合并政策。提交 a8b8f5a 完成了性能约定的添加。

@OrenZhang OrenZhang requested a review from chenyme July 2, 2025 14:04
@yyg-max yyg-max self-requested a review July 2, 2025 14:05
@OrenZhang OrenZhang merged commit 87d6480 into master Jul 2, 2025
8 checks passed
@OrenZhang OrenZhang deleted the copilot/fix-26 branch July 2, 2025 14:05
tabloving pushed a commit to tabloving/cdk that referenced this pull request Jul 3, 2025
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.

feature: CLA

3 participants