env.set¶
Set or delete one variable in the chosen scope's file.
local writes .repo.env.local at the workspace root,
shared the person-wide .repo.shared.env in the runner's
config directory,
repo the committed .repo.env. ci writes a CI secret
through the forge protocol: under CI the entry step hands the
declared keys' secrets to the emission, which materialises them
into the shared slot, so a secret overrides the committed value
the way the shared file does on a machine. After a write the
higher-precedence sources are checked: a shadowed value is named
rather than discovered later.
| Parameter | Type | Default | Description |
|---|---|---|---|
<key> |
required | the variable name | |
--value=VALUE |
"" |
the value; empty deletes the key | |
--scope=VALUE |
"local" |
local (this machine), shared (this person), repo (committed), ci (the forge's secret store) |