Skip to content
ydongyPublic

About

Account defaults for ydongy's repositories: repository standard, templates, community health files

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

.github

Account-wide community defaults, profile and repository standard for ydongy.

CI License

English · 简体中文

This repository is public because GitHub applies account defaults only from a public .github repository. It never contains product code, credentials or internal hostnames.

Features

  • Community health files (CONTRIBUTING.md, CODE_OF_CONDUCT.md, SECURITY.md) that apply to every repository without its own copy.
  • Issue forms (bug, feature, documentation) and a short pull request template.
  • The account profile page in profile/README.md.
  • STANDARD.md: the single repository standard, with a checklist.
  • A common label set (labels.yml) and scripts/sync-labels.sh to apply it.

Requirements

For the label script only: gh (authenticated, with repo scope), python3 and bash.

Quick start

Nothing to install. GitHub picks up the defaults automatically. To apply the common labels to a repository:

scripts/sync-labels.sh ydongy/<repo>

Usage

Path Purpose
.github/ISSUE_TEMPLATE/, pull_request_template.md Issue forms and the pull request template
CONTRIBUTING.md, CODE_OF_CONDUCT.md, SECURITY.md Community health files
profile/README.md The account profile page (bilingual; GitHub renders only this file)
STANDARD.md Open-source baseline, closed-source overlay, checklist
labels.yml, scripts/sync-labels.sh The common label set and the script that applies it
.github/ CODEOWNERS, Dependabot, pr-title.yml and this repository's own CI

Community defaults. GitHub uses the issue forms, pull request template, CONTRIBUTING.md, CODE_OF_CONDUCT.md and SECURITY.md for every repository under the account that does not have its own copy. A repository that needs different text adds its own file; STANDARD.md says when that is appropriate. Repositories are self-contained: they do not call workflows or scripts from this repository.

Labels.

scripts/sync-labels.sh ydongy/<repo> [ydongy/<repo2> ...]

Creates or updates every label in labels.yml (bug, enhancement, documentation, question, good first issue, help wanted, dependencies, duplicate, invalid, wontfix). Existing labels with the same name get the listed color and description; other labels are left alone.

Development

CI (.github/workflows/ci.yml) runs actionlint, parses the YAML files and labels.yml, and checks the shell syntax of the script. Locally:

bash -n scripts/sync-labels.sh
actionlint

Contributing

See CONTRIBUTING.md. Commit messages and pull request titles follow Conventional Commits.

Security

Report vulnerabilities privately through GitHub Security, "Report a vulnerability", on the affected repository. See SECURITY.md.

License

MIT, copyright (c) 2026 ydongy.

About

Account defaults for ydongy's repositories: repository standard, templates, community health files

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages