Create ROBOT_CODE_DISPATCH_TOKEN for cross-repo CI dispatch
还没有人认领这个 Issue。
评估
- 难度
- 2/5
- 预计耗时
- 1-3 小时
- 新手友好度
- 72/100
调研方向
按照此 issue 中的 PAT 和组织密钥设置步骤操作,并使用列出的 repository 和权限。然后向同级 repository 的 main 分支推送一个微小更改,并验证 robot-code 的集成工作流是否被触发;当 secret 生效且 dispatch 发生时,即表示完成。
由索引模型根据 Issue 内容生成。
描述
What
Each sibling repo's CI has a repository_dispatch step that notifies robot-code when main advances. This requires a fine-grained PAT stored as an org secret.
Without this token
Cross-repo integration tests only run on:
- PRs to robot-code
- Nightly cron (08:00 UTC)
- Manual
workflow_dispatch
Push-to-main on a sibling does NOT trigger integration tests.
Setup steps
-
Create a fine-grained PAT at https://github.com/settings/personal-access-tokens/new
- Name:
ROBOT_CODE_DISPATCH_TOKEN - Resource owner:
personalrobotics - Repository access:
personalrobotics/robot-codeonly - Permissions:
Contents: Read,Actions: Write - Expiration: 90 days (set a calendar reminder to rotate)
- Name:
-
Add as org secret:
gh secret set ROBOT_CODE_DISPATCH_TOKEN --org personalrobotics --visibility all -
Test: push a trivial change to any sibling's
mainand verify robot-code's integration workflow triggers.
Priority
Low — nightly cron catches breakage within 24 hours regardless. This just makes it near-instant.
- 主要语言
- Shell
- 星标
- 3
- 派生
- 1
- 平均合并
- 11 天 21 小时
- 30 天内合并 PR
- 1
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
personalrobotics/robot-code 的其他 Issue
-
ci nightly-fail
难度 4/5 1-2 天 新手友好度 20/100
personalrobotics/robot-code#169 ·
-
ci nightly-fail
难度 4/5 1-2 天 新手友好度 18/100
personalrobotics/robot-code#168 ·
-
ci nightly-fail
难度 2/5 1-3 小时 新手友好度 35/100
personalrobotics/robot-code#167 ·
-
bug
难度 4/5 3-5 天 新手友好度 45/100
personalrobotics/robot-code#166 ·
-
ci nightly-fail
难度 3/5 1-2 天 新手友好度 35/100
personalrobotics/robot-code#164 ·
查看 personalrobotics/robot-code 的全部 Issue
相似的 Issue
-
area:install bug needs-triage
难度 2/5 1-3 小时 新手友好度 68/100
维护者通常 2 天内回复
-
bug
难度 2/5 1-3 小时 新手友好度 62/100
Netcracker/qubership-test-pipelines#307 ·
维护者通常 2 天内回复
-
Webcam overlay freezes during voxtype dictation while screen recording (pause_media pauses the overlay mpv)可能已有人在做 关联的 PR 仍在进行中或已合并。 未关闭
难度 2/5 1-3 小时 新手友好度 65/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 62/100
TYPO3BestPractices/tea#2409 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 62/100
msys2/MSYS2-packages#6825 ·
维护者通常 1 天内回复