Skip to content

fix: 修复 PR 模板中的超链接异常#29

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

fix: 修复 PR 模板中的超链接异常#29
OrenZhang merged 2 commits intomasterfrom
copilot/fix-28

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Jul 2, 2025

问题描述

PR 模板中的 CODE_OF_CONDUCT 和 CLA 超链接使用了错误的相对路径,导致链接指向 github.com/xxx.md 而不是仓库中的实际文件。

修复内容

更新 .github/pull_request_template.md 中的超链接:

修复前:

[ ] 我已阅读并理解 [贡献者公约](/CODE_OF_CONDUCT.md)[ ] 我已阅读并同意 [贡献者许可协议 (CLA)](/CLA.md),...

修复后:

[ ] 我已阅读并理解 [贡献者公约](https://github.com/linux-do/cdk/blob/master/CODE_OF_CONDUCT.md)[ ] 我已阅读并同意 [贡献者许可协议 (CLA)](https://github.com/linux-do/cdk/blob/master/CLA.md),...

验证

  • ✅ 确认 CODE_OF_CONDUCT.md 和 CLA.md 文件存在于仓库根目录
  • ✅ 使用完整 GitHub URL 确保链接始终正确指向仓库文件
  • ✅ 变更最小化,仅修改了两个超链接

现在创建 PR 时,贡献者可以正确访问行为准则和许可协议文档。

Fixes #28.


💬 Share your feedback on Copilot coding agent for the chance to win a $200 gift card! Click here to start the survey.

@yyg-max yyg-max marked this pull request as ready for review July 2, 2025 14:09
Copilot AI changed the title [WIP] bug: PR 模板中的超链接异常 fix: 修复 PR 模板中的超链接异常 Jul 2, 2025
Copilot AI requested a review from OrenZhang July 2, 2025 14:11
@yyg-max yyg-max self-requested a review July 2, 2025 14:15
@OrenZhang OrenZhang merged commit 4bdaae3 into master Jul 2, 2025
8 checks passed
@OrenZhang OrenZhang deleted the copilot/fix-28 branch July 2, 2025 14:17
tabloving pushed a commit to tabloving/cdk that referenced this pull request Jul 3, 2025
finished:project retrieve api
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.

bug: PR 模板中的超链接异常

3 participants