1025. The smelter App id is an organization variable, not a secret
The title and slug are provisional.
Raised by the lane lane/crate-release-secrets-selected-repositories on 2026-11-01 (UTC), recording
a follow-on approved the same day alongside the ruling that NIFE_SMELTER_APP_ID and
NIFE_SMELTER_PRIVATE_KEY use the visibility "selected repositories". An App id is not sensitive:
it appears in the App's public page and in token requests. Only the private key needs to be a
secret, so the id becomes an organization variable and the secret list shrinks to one.
The change is in partsfoundry/crate-workflows: its reusable release workflow reads the id from
vars.NIFE_SMELTER_APP_ID where it now reads secrets.NIFE_SMELTER_APP_ID, and a new release of
the template carries it. Each crate repository then moves to that release. The variable needs the
same "selected repositories" scoping as the key, for the same reason, and the extraction checklist
in milestone 857 (crates released on their own) loses one grant per new repository.
Reuse: the variables feature of GitHub organizations and the existing reusable release workflow; no new dependency.
Not done in this lane; it is a milestone for a lane in partsfoundry/crate-workflows.
BUGS
- Until it lands, every new crate repository needs both grants.
Index row
An App id is public, and only its key is secret. Moving the id to an organization variable shrinks the secret list to one and removes a grant from every crate repository's extraction checklist.