Replies: 2 comments
|
GitHub's built-in project automation can add PRs to a board but can't set custom fields or react to draft state transitions, so status never gets reflected automatically without something like this. A few things worth considering before settling on the implementation: On auth: The discussion recommends Option B (dedicated app) or Option A (expand peribolos), and I'd agree Option B is the cleaner choice. Peribolos was set up specifically for org membership management — adding project board automation to it conflates two distinct responsibilities and makes it harder to reason about what the app does. A dedicated app keeps the separation clean and follows the same pattern peribolos itself set. Edge cases to handle:
On rollout: unbound-force doesn't currently have an org-infra sync mechanism like complytime does. For 5 repos, adding the caller workflow manually is manageable. But between this, the config sync proposed in #399, and the existing duplication of agents/commands/skills across repos, it might be worth setting up an unbound-force org-infra to handle distribution centrally, the complytime org-infra pattern is already proven and could be adapted. |
|
Nice discussion, I would like to share some insights not about the implementation but about how to use the From this doc: That said, GitHub offers out-of-box features (teams, CODEOWNERS, etc) that allow us to automate the suggested On the other hand, I see the For example, in some communities it is common for maintainers to triage PRs and distribute the Assignments. So, if another maintainer take a look in a PR where there is already one or more Assignees defined based on Governance Rules, it signals that things are on track there and they can move forward in the queue to the next which does not yet have an assignee. This creates a bit more predictability on expectations and workload. Maybe the mechanism to automatically include the author as Assignee in PRs, assuming the authors has write access to the repository, is fine since the author is expected to work on the |
Uh oh!
There was an error while loading. Please reload this page.
Problem
PRs opened across the
unbound-forceorg don't automatically get assigned or have their Status field set on the Unbound Force Planning project board. The built-in auto-add project workflows handle adding items, but they cannot:Proposed Behavior
Auth Options
Org-level Projects V2 mutations require
organization_projects: write, which the defaultGITHUB_TOKENin Actions does not provide. Four installed GitHub Apps were evaluated -- none currently have this permission.organization_projects: writeto existing peribolos appAPP_ID/APP_PRIVATE_KEYunbound-force-project-bot)projectscopeRecommendation: Option B (dedicated app) for least privilege, or Option A (expand peribolos) for simplicity.
The new app would need only:
organization_projects: writepull_requests: readmetadata: readImplementation
A reusable workflow in
unbound-force/.githubusingactions/create-github-app-token(same pattern as peribolos), callable from each repo with minimal boilerplate. Each repo adds a ~10-line caller workflow.Tracking issue: unbound-force/.github#9
All reactions