Skip to content

feat(repo): manage description and topics as code - #55

Open
idvoretskyi wants to merge 1 commit into
mainfrom
feat/repo-settings-as-code
Open

feat(repo): manage description and topics as code#55
idvoretskyi wants to merge 1 commit into
mainfrom
feat/repo-settings-as-code

Conversation

@idvoretskyi

Copy link
Copy Markdown
Owner

Problem

The GitHub repository description was stale:

Generic Ubuntu 24.04 development environment template for GitHub Codespaces

The devcontainer has been on Ubuntu 26.04 for a while (.devcontainer/Dockerfile, README "Features"). Topics were also empty.

Change

Adds .github/settings.yml so repo metadata is version controlled and reviewable instead of drifting silently:

  • Corrected description (Ubuntu 26.04, mentions the actual toolchain)
  • Six topics: devcontainer, codespaces, ubuntu, template, opencode, claude-code
  • Existing merge settings recorded (squash-only, delete branch on merge)

Also lists the new file in the AGENTS.md repository-layout tree.

Deliberately scoped to metadata — there is no branches: block, so existing branch protection rules are untouched.

Caveat

This file only takes effect if the Settings GitHub App is installed on the repo. I could not verify installation (/installation requires an App JWT). The live description has been corrected directly via gh repo edit so it is accurate regardless; this file is the durable source of truth going forward.

Validation

python3 -c 'import yaml; yaml.safe_load(open(".github/settings.yml"))'

Passes. Not a workflow file, so the SHA-pinning rule does not apply.

The GitHub repository description still advertised Ubuntu 24.04 while the
devcontainer moved to Ubuntu 26.04. Capture the description, topics and
merge settings in .github/settings.yml so this metadata is version
controlled and reviewable rather than drifting silently.

Scoped to metadata only; no branches: block, so existing branch
protection is untouched.
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