Skip to content

Add CI checks, a PR template, and CODEOWNERS - #1

Merged
RobGrafrath merged 2 commits into
mainfrom
add-ci-and-contribution-templates
Oct 10, 2026
Merged

RobGrafrath merged 2 commits into
mainfrom
add-ci-and-contribution-templates

Conversation

@RobGrafrath

Copy link
Copy Markdown
Contributor

Adds the same two required checks used in platform-design (dco and validate), a pull request template, and CODEOWNERS.

  • validate runs tofu fmt -check, tofu validate on each stack, and scripts/check-repo.py. It uses no cloud credentials and must not be given any.
  • scripts/check-repo.py rejects committed state files, variable files, keys, and AWS access key IDs, and enforces the house style on dashes and quotes.
  • The PR template asks whether a change makes a host easier to leave running or easier to reach.
  • CODEOWNERS covers stacks/, policies/, shared/, scripts/, and .github/.

After this merges: protect main (require both checks, block force pushes, apply to admins), and turn on secret scanning and push protection.

🤖 Generated with Claude Code

Rob Grafrath and others added 2 commits October 10, 2026 16:48
- dco.yml: require a Signed-off-by trailer on every commit, as in
  platform-design.
- validate.yml: tofu fmt and validate for each stack, plus
  scripts/check-repo.py. No cloud credentials anywhere in CI.
- scripts/check-repo.py: reject committed state files, variable files, keys
  and access key IDs, and enforce the house style on dashes and quotes.
- Pull request template focused on whether a change makes a host easier to
  leave running or easier to reach.
- CODEOWNERS for stacks, policies, shared setup, scripts, and workflows.
- CONTRIBUTING: retroactive sign-off and a description of the checks.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Signed-off-by: Rob Grafrath <[email protected]>
The lookup table held literal dash and curly-quote characters, which the
script flagged in itself. Build them with chr() instead.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Signed-off-by: Rob Grafrath <[email protected]>
@RobGrafrath
RobGrafrath merged commit 9208bf1 into main Oct 10, 2026
2 checks passed
@RobGrafrath
RobGrafrath deleted the add-ci-and-contribution-templates branch October 10, 2026 21:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant