personalrobotics / personalrobotics/robot-code
Create ROBOT_CODE_DISPATCH_TOKEN for cross-repo CI dispatch
Nobody has claimed this yet.
- Dominant language
- Shell
- Stars
- 3
- Forks
- 1
- PR merge metrics
- No merged PRs in 30d
Description
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.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Follow the PAT and organization-secret setup steps in this issue, using the listed repository and permissions. Then push a trivial change to a sibling repository’s main branch and verify that robot-code’s integration workflow triggers; done means the secret works and the dispatch occurs.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- github, github-actions
- Domain
- ci-cd, devops
- Issue type
- Feature
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Quiet
- Clarity
- Clearly specified
- Newbie friendliness
- 72/100