fix: ci - bind first-interaction v3 inputs correctly (#146)

This commit is contained in:
tradecatlabs
2026-10-17 02:55:21 +08:00
committed by GitHub
parent 74f2b07499
commit 6d6790edf9
4 changed files with 9 additions and 4 deletions
+2
View File
@@ -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 注入。
+3 -3
View File
@@ -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!
我们将仔细评审你的贡献。感谢你让这个项目变得更好!
+3
View File
@@ -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 使用
+1 -1
View File
@@ -191,7 +191,7 @@
├── FUNDING.yml # 赞助配置
├── WIKI.md # GitHub Wiki 独立仓库说明
├── labeler.yml # PR 标签规则
└── workflows/ # GitHub Actions 工作流
└── workflows/ # GitHub Actions 工作流(含新贡献者欢迎)
```
</details>