Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

Create ROBOT_CODE_DISPATCH_TOKEN for cross-repo CI dispatch

未关闭 适合新手
#7 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
2/5
预计耗时
1-3 小时
新手友好度
72/100
Issue 类型
功能
描述清晰度
描述清楚
活跃度
冷清
技术栈
github, github-actions
领域
ci-cd, devops

调研方向

按照此 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

  1. 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-code only
    • Permissions: Contents: Read, Actions: Write
    • Expiration: 90 days (set a calendar reminder to rotate)
  2. Add as org secret:

    gh secret set ROBOT_CODE_DISPATCH_TOKEN --org personalrobotics --visibility all
    
  3. Test: push a trivial change to any sibling's main and 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

环境准备

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

personalrobotics/robot-code 的其他 Issue

查看 personalrobotics/robot-code 的全部 Issue

相似的 Issue

更多 Shell/Bash Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。