From 1889c95a46c80749a23384ac449552a33964edbd Mon Sep 17 00:00:00 2001 From: unkin-agent Date: Thu, 19 Nov 2026 22:30:38 +1100 Subject: [PATCH] document fork_from as create-only and private as unset by default --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index cb0850b..7d48bbf 100644 --- a/README.md +++ b/README.md @@ -34,7 +34,7 @@ members: [] ```yaml description: "" -private: true +private: null # null = private; must be omitted with fork_from default_branch: main maintainers: [] # users or @team: maintain access, seed initial .github/CODEOWNERS codeowners: [] # push access @@ -45,7 +45,7 @@ exclude_rulesets: [] # opt out of non-mandatory all_repos rulesets fork_from: null # owner/repo: fork a public upstream (see below) ``` -`fork_from: owner/repo` creates the repository as a fork of a public upstream. Visibility follows the source, so `private` must be omitted. `default_branch` must match the upstream default branch. Adding `fork_from` to an existing repository recreates it. +`fork_from: owner/repo` creates the repository as a fork of a public upstream. Visibility follows the source, so `private` must be omitted. `default_branch` must match the upstream default branch. `fork_from` only works when creating a new repository: the old one is archived on destroy and keeps the name, so to convert an existing repository delete it on GitHub (or `terragrunt state rm` its repository resources) first. `ruleset/.yaml`: