diff --git a/packages/mosaic/framework/defaults/TOOLS.md b/packages/mosaic/framework/defaults/TOOLS.md index 6b0bf178..9fd729c5 100644 --- a/packages/mosaic/framework/defaults/TOOLS.md +++ b/packages/mosaic/framework/defaults/TOOLS.md @@ -25,6 +25,11 @@ tools/git/pr-create.sh ... tools/git/issue-create.sh ... tools/git/pr-merge. tools/git/ci-queue-wait.sh --purpose push|merge # REQUIRED before any push/merge ``` +**Reviewer grants** — `tools/git/grant-reviewer.sh -u [-r /] [-t ]` adds a +review seat to an org repo through an org team (Gitea only; code read + issues/pulls write, verified +by read-back). Team approvals do not count as official under branch protection unless the team is +whitelisted — see the tool header. + **GITEA_LOGIN gotcha** — the wrappers default to login `mosaicstack`; on a USC repo that fails with `gitea / Error: GetUserByName ... not found`. Pick the login from the repo's `origin` host first: diff --git a/packages/mosaic/framework/guides/TOOLS-REFERENCE.md b/packages/mosaic/framework/guides/TOOLS-REFERENCE.md index 4e8c427a..806f6947 100644 --- a/packages/mosaic/framework/guides/TOOLS-REFERENCE.md +++ b/packages/mosaic/framework/guides/TOOLS-REFERENCE.md @@ -49,6 +49,10 @@ supply it explicitly on any host where the provider CLI's default account is an | `milestone-list.sh` | List milestones | | `milestone-close.sh` | Close a milestone | +| Access grants | | +| ------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `grant-reviewer.sh` | Grant a review seat on an org repo via an org team (Gitea only): code read + issues/pulls write, verified by read-back. Team approvals count as official only if branch protection whitelists the team — see the tool header | + | Gates and guards | | | ----------------------- | --------------------------------------------------------------------------------------------------------- | | `ci-queue-wait.sh` | CI queue guard — required before push/merge (see below) |