Add new repository checklist - #93
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds
docs/new_repo_checklist.md— a codification of the repository settings, rulesets, environments, secrets, variables, and labels currently used across sara-, flotilla, and isar- service repos.Intended to be followed after creating a new service repo from
equinor/sara-python-template(which only ships files — GitHub template repos cannot copy repo settings).Contents
The doc walks through 10 numbered sections, each with:
gh/gh apicommand to set it.gh/gh apicommand to verify it.Sections:
mainPlus a "Compliance check for existing repos" section at the end — one
gh apisnippet you can run against any repo to eyeball its current state.Motivation
sara-python-templatehandles the file scaffolding for new services, but templates can't copy settings, environments, secrets, or rulesets. Today those are set per-repo, with drift:main, somedefault, two have none.ROBOTICS_AURORA*secrets from before the registry consolidation.The doc gives contributors a single, reviewable source for "what does a properly-configured sara service repo look like" — without requiring org-admin access to set up rulesets at the org level.
Follow-ups (out of scope)
sara-*/isar-*/flotillawould remove the drift problem entirely. Requires org-admin access.