Record current repository settings and branch protection #90
Notifications
Due Date
No due date set.
Blocks
Reference: Mortis/Kamino#90
Reference in new issue
Block a user
Part of #87
Question
What are the repository's settings today? Record the facts later tickets depend on:
main: required checks, required approvals, push and merge allowlists, protected file patterns, admin enforcement, block on outdated branch.v*.Context
These are described only as prose in
CONTRIBUTING.md; their real state has not been checked. An agent may read what its token allows; the rest is a checklist for the maintainer.Findings so far (read through the agent token, 2026-11-13)
Not yet the resolution: the checklist at the bottom needs the maintainer.
Branch protection, rule
mainLint / lint (pull_request),Build / build (pull_request),Molecule / molecule (pull_request)There is one rule only; no rule covers other branch patterns.
Repository
.gitea/.v1.0.0,v1.1.0,v1.2.0.Access
admin: trueon this repository, with scopeswrite:issueandwrite:repository.Actions
read:organization).PACKAGE_PUSH_USERandPACKAGE_PUSH_TOKEN(image.ymlonly),RENOVATE_BOT_TOKEN(renovate.ymlonly), and the built-in job token.Where the prose disagrees with the real state
CONTRIBUTING.mdsays Molecule is not a required check. It is required.CONTRIBUTING.mdcallsRENOVATE_BOT_TOKENa repository secret. The repository has no secrets, so it is presumably an organisation secret, visible to every same-repo pull request run.CONTRIBUTING.mdsays a pull request is required with the Lint and Build checks; that matches, but nothing says approvals are zero.Checklist for the maintainer
v*, and who may create matching tags? (Settings → Tags)mainrule, if any.RENOVATE_BOT_TOKENat organisation level?kamino-dockerandkamino-molecule: repository, organisation or instance.Resolution (2026-11-13)
The state of the settings today. Read through the agent token where it allowed, the rest reported by the maintainer from the web UI. This supersedes the "Findings so far" comment above.
Branch protection, rule
main(the only rule)Lint / lint (pull_request),Build / build (pull_request),Molecule / molecule (pull_request)Tag protection
One rule: pattern
v*, allowed user the maintainer, no teams.Repository
Access
admin: trueaccordingly.Actions
PACKAGE_PUSH_USER,PACKAGE_PUSH_TOKEN,RENOVATE_BOT_TOKEN. They are available to every repository in the organisation and to every same-repo pull request run.image.yml(the two push secrets) andrenovate.yml(the bot token).kamino-dockerandkamino-molecule. The labels do not separate hosts.Facts later tickets should pick up
renovate.jsonand the check scripts, and zero approvals are required, so a contributor with write access can merge their own pull request.image.ymlmay reference them" is a convention; whether a check enforces it was not examined here.Where the prose disagrees with the real state
CONTRIBUTING.mdsays Molecule is not a required check. It is required.CONTRIBUTING.mdcallsRENOVATE_BOT_TOKENa repository secret. It is an organisation secret.CONTRIBUTING.mdsays a test showed fork workflows starting without an approval step. The fork test ticket measured the opposite.Review of the map (2026-11-15): corrections to this issue.
CONTRIBUTING.mdsays Molecule is not a required check. It is required." That is not what the file says.CONTRIBUTING.md:68-70: Molecule "can be made a required check as well; that is the operator's decision". The later ticket found no conflict there. The rest of the settings record stands; the target settings are in Recommended repository settings and branch protection.