chore: scope Kamino's secrets and runner to this repository when a second repository joins the organisation #239

Open
opened 2026-11-16 21:53:31 +00:00 by Claude · 2 comments
Owner

Spec: Code-owner approval against Renovate automerge, and where secrets live, resolution comment, point 4.

What

  1. Now (agent): fix the header of .gitea/workflows/renovate.yml. It calls RENOVATE_BOT_TOKEN "the repository secret ... (not an org secret)", but the repository holds no repository secrets, so today it is an organisation secret. State that it is an organisation secret until step 2, and keep the comment short.
  2. When a second repository lands in the organisation (maintainer, a settings change): recreate every secret this repository uses (the registry push credential, RENOVATE_BOT_TOKEN, and the release bot's token if it exists by then) as a repository secret of mortis/kamino, delete the organisation copies, and remove the "not an org secret" wording from step 1.

A new secret created before step 2 starts as a repository secret.

Acceptance

Notes

Repository settings and secrets are the maintainer's. Name roles, not accounts.

Spec: [Code-owner approval against Renovate automerge, and where secrets live](https://git.rkdr.net/Mortis/Kamino/issues/210), resolution comment, point 4. ## What 1. **Now (agent):** fix the header of `.gitea/workflows/renovate.yml`. It calls `RENOVATE_BOT_TOKEN` "the repository secret ... (not an org secret)", but the repository holds no repository secrets, so today it is an organisation secret. State that it is an organisation secret until step 2, and keep the comment short. 2. **When a second repository lands in the organisation (maintainer, a settings change):** recreate every secret this repository uses (the registry push credential, `RENOVATE_BOT_TOKEN`, and the release bot's token if it exists by then) as a **repository** secret of `mortis/kamino`, delete the organisation copies, and remove the "not an org secret" wording from step 1. A new secret created before step 2 starts as a repository secret. ## Acceptance - Step 1: the comment matches where the secret lives. - Step 2: done before or with [chore: publish the agent skills source in the organisation before opening to friends](https://git.rkdr.net/Mortis/Kamino/issues/229). The repository's secret list holds every secret its workflows reference; the organisation holds none of them. A Renovate run and an image build pass afterwards. ## Notes Repository settings and secrets are the maintainer's. Name roles, not accounts.
Claude added this to the Open to contributors milestone 2026-11-16 21:53:31 +00:00
Claude added the
Status
Ready for Human
label 2026-11-16 21:53:31 +00:00
Author
Owner

Review of the map (2026-11-17).

  • Step 1 names the header of .gitea/workflows/renovate.yml only. The same wrong scope is stated in the error message at line 83 of that file ("The repository secret RENOVATE_BOT_TOKEN is not set") and in CONTRIBUTING.md line 52 ("repository secret RENOVATE_BOT_TOKEN"). Fix all three.
  • Step 1 is marked "(agent)" on an issue labelled for a human. Either move step 1 into docs: remove references to anything outside this repository, which already rewords the same header, or note here that an agent may do step 1 separately.
  • Step 2 "before or with" the skills source is carried only by this sentence. A matching line is proposed for that issue's "Done when".
  • The runner is registered for the whole organisation, so the second repository shares it too. If a step follows from What a second repository in the organisation shares besides secrets, it lands here.
Review of the map (2026-11-17). - Step 1 names the header of `.gitea/workflows/renovate.yml` only. The same wrong scope is stated in the error message at line 83 of that file ("The repository secret RENOVATE_BOT_TOKEN is not set") and in `CONTRIBUTING.md` line 52 ("repository secret `RENOVATE_BOT_TOKEN`"). Fix all three. - Step 1 is marked "(agent)" on an issue labelled for a human. Either move step 1 into [docs: remove references to anything outside this repository](https://git.rkdr.net/Mortis/Kamino/issues/108), which already rewords the same header, or note here that an agent may do step 1 separately. - Step 2 "before or with" the skills source is carried only by this sentence. A matching line is proposed for that issue's "Done when". - The runner is registered for the whole organisation, so the second repository shares it too. If a step follows from [What a second repository in the organisation shares besides secrets](https://git.rkdr.net/Mortis/Kamino/issues/249), it lands here.
Author
Owner

Scope added by What a second repository in the organisation shares besides secrets

Retitled to cover the runner. Step 2 (maintainer, before or with #229) gains:

  • Runner scope: re-register Kamino's runner for mortis/kamino only, with the same labels (kamino-docker, kamino-molecule), and remove the organisation registration.
  • Isolation: the skills source gets its own runner, sharing no host, Docker daemon, cache or filesystem with Kamino's.
  • No shared secret: the skills source holds none of Kamino's secrets; any secret it needs is its own repository secret.

Acceptance gains: the organisation's runner list is empty; Kamino's repository runner list holds the runner; a Lint, Build and Molecule run pass on it afterwards.

## Scope added by [What a second repository in the organisation shares besides secrets](https://git.rkdr.net/Mortis/Kamino/issues/249) Retitled to cover the runner. Step 2 (maintainer, before or with [#229](https://git.rkdr.net/Mortis/Kamino/issues/229)) gains: - **Runner scope:** re-register Kamino's runner for `mortis/kamino` only, with the same labels (`kamino-docker`, `kamino-molecule`), and remove the organisation registration. - **Isolation:** the skills source gets its own runner, sharing no host, Docker daemon, cache or filesystem with Kamino's. - **No shared secret:** the skills source holds none of Kamino's secrets; any secret it needs is its own repository secret. Acceptance gains: the organisation's runner list is empty; Kamino's repository runner list holds the runner; a Lint, Build and Molecule run pass on it afterwards.
Claude changed title from chore: move Kamino's secrets to repository level when a second repository joins the organisation to chore: scope Kamino's secrets and runner to this repository when a second repository joins the organisation 2026-11-20 17:44:33 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Mortis/Kamino#239