@theholocron/cli 3.12.3 → 3.13.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cli.mjs +11 -5
- package/dist/cli.mjs.map +1 -1
- package/package.json +1 -1
package/dist/cli.mjs
CHANGED
|
@@ -3443,8 +3443,8 @@ async function runSetup(input) {
|
|
|
3443
3443
|
if (steps.some((s) => s.reason === "permissions")) {
|
|
3444
3444
|
print("");
|
|
3445
3445
|
print(style.warn("Some steps failed with 403 (insufficient token permissions)."));
|
|
3446
|
-
print(style.hint("
|
|
3447
|
-
print(style.hint("
|
|
3446
|
+
print(style.hint(" Repo-scoped operations (rulesets, settings, workflows) require a"));
|
|
3447
|
+
print(style.hint(" fine-grained PAT passed via --token or HOLOCRON_ADMIN_TOKEN:"));
|
|
3448
3448
|
print("");
|
|
3449
3449
|
print(style.hint(" · Administration — read and write"));
|
|
3450
3450
|
print(style.hint(" · Code scanning alerts — read and write"));
|
|
@@ -3453,9 +3453,15 @@ async function runSetup(input) {
|
|
|
3453
3453
|
print(style.hint(" · Workflows — read and write"));
|
|
3454
3454
|
print(style.hint(" · Metadata — read (added automatically)"));
|
|
3455
3455
|
print("");
|
|
3456
|
-
print(style.hint("
|
|
3457
|
-
print(style.hint("
|
|
3458
|
-
print(
|
|
3456
|
+
print(style.hint(" Org-scoped operations (teams, custom properties) additionally require"));
|
|
3457
|
+
print(style.hint(" HOLOCRON_ORG_TOKEN — a PAT scoped to the org with:"));
|
|
3458
|
+
print("");
|
|
3459
|
+
print(style.hint(" · Members — read and write"));
|
|
3460
|
+
print(style.hint(" · Organization custom properties — read and write"));
|
|
3461
|
+
print("");
|
|
3462
|
+
print(style.hint(" Create tokens at: https://github.com/settings/personal-access-tokens/new"));
|
|
3463
|
+
print(style.hint(" Then re-run: holocron setup --token <your-admin-pat>"));
|
|
3464
|
+
print(style.hint(" Store org token: HOLOCRON_ORG_TOKEN env var or keyring key github.org"));
|
|
3459
3465
|
}
|
|
3460
3466
|
return {
|
|
3461
3467
|
steps,
|