Skip to content
reguladPublic

About

Shared GitHub defaults for regulad's repositories, which each one's .github/settings.yml extends

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

6 Commits

Folders and files

Repository files navigation

.github

The GitHub defaults shared by regulad's repositories.

Repository settings

.github/settings.yml holds the settings every repository has in common: merge options, features, security alerts and the standard labels. The Settings app applies it. A repository's own .github/settings.yml inherits it and adds only what is that repository's own:

_extends: .github

repository:
  name: example
  description: >-
    One line on what the repository is
  homepage: ""
  private: false
  # Comma-and-space separated string, not a YAML list.
  topics: rust, windows
  default_branch: master

The repository's own values win. A label it lists under one of the shared names replaces that label's colour or description, and a label it lists under a new name is added. Any label listed in neither file is deleted.

A repository created without a settings file gets the shared file as it is, so the shared file never names, describes, publishes or hides a repository.

New repositories use master. The shared file can't set it, since a new repository has no branches yet: Parker's GitHub account default and git's init.defaultBranch (in regulad/dotfiles) name the first branch master, and each repository's own file names it, as in the example above.

A change to the shared file reaches a repository only when that repository's own settings file is next pushed to its default branch.

Environments and secrets aren't set here or in any repository's settings file. regulad/homelab manages them.

Issue forms

.github/ISSUE_TEMPLATE/ holds the bug report and feature request forms. GitHub offers them in every repository that has no .github/ISSUE_TEMPLATE folder of its own; a repository with its own folder gets none of these. Both forms ask whether AI was used, and blank issues are off, so that question can't be skipped.

Licence

Free software, under the GNU Affero General Public License, version 3 or (at your option) any later version (LICENSE.md).

About

Shared GitHub defaults for regulad's repositories, which each one's .github/settings.yml extends

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors