mirror of
https://github.com/tradecatlabs/vibe-coding-cn.git
synced 2026-11-02 12:26:36 +00:00
fix: ci - bind first-interaction v3 inputs correctly (#146)
This commit is contained in:
@@ -5,3 +5,5 @@ GitHub Actions 工作流目录。
|
||||
## 当前工作流
|
||||
|
||||
- `ci.yml` - 在 `main` 的 push / pull_request 上执行 Markdown lint、本地链接、docs 结构、目录治理、metadata、AI citation 和外链检查。
|
||||
- `welcome.yml` - 在 Issue / PR opened 时欢迎首次贡献者;`actions/first-interaction@v3` 的输入使用
|
||||
`repo_token`、`issue_message`、`pr_message`,令牌由 GitHub Actions 原生 secret 注入。
|
||||
|
||||
@@ -20,11 +20,11 @@ jobs:
|
||||
- name: Welcome new contributor
|
||||
uses: actions/first-interaction@v3
|
||||
with:
|
||||
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
||||
issue-message: |
|
||||
repo_token: ${{ secrets.GITHUB_TOKEN }}
|
||||
issue_message: |
|
||||
👋 你好,@${{ github.actor }}!感谢你第一次向 vibe-coding-cn 提交 Issue!
|
||||
我们会尽快查看。欢迎你加入我们的社区!
|
||||
|
||||
pr-message: |
|
||||
pr_message: |
|
||||
👋 你好,@${{ github.actor }}!感谢你第一次向 vibe-coding-cn 提交 Pull Request!
|
||||
我们将仔细评审你的贡献。感谢你让这个项目变得更好!
|
||||
|
||||
@@ -199,6 +199,9 @@ git push origin HEAD
|
||||
- `.github/CODEOWNERS` - 路径级 owner 评审基线,当前维护者为 `@tukuaiai` 和 `@tradecatlabs`,用于让关键目录变更自动请求维护者审查
|
||||
- `.github/lint_config.json` - markdownlint 规则,供 `make lint` 与 CI 共用
|
||||
- `.github/workflows/ci.yml` - GitHub Actions:main 分支 markdown-lint + link-checker
|
||||
- `.github/workflows/welcome.yml` - Issue / PR 首次贡献者欢迎;当前 `actions/first-interaction@v3` 使用
|
||||
`repo_token`、`issue_message`、`pr_message`,以实际 Action 元数据和源码为准,不照抄过时的横线参数示例。
|
||||
保留平台 secret 注入、既有权限与事件边界,不 checkout 外部 PR;工作流变更后须核对真实新执行。
|
||||
- `.github/scripts/check-local-links.py` - 仓库内 Markdown 相对链接与锚点检查脚本,供 `make check-links` 与 CI 使用
|
||||
- `.github/scripts/check-markdown-details.py` - 仓库内 Markdown 折叠块结构检查脚本,供 `make check-details` 与 CI 使用
|
||||
- `.github/scripts/check-doc-structure.py` - docs README 标准块顺序、目录入口和重复锚点检查脚本,供 `make check-doc-structure` 与 CI 使用
|
||||
|
||||
Reference in New Issue
Block a user