Open source · modulane
repo-template
modulane/repo-template
The reference GitHub setup for every modulane repository.
Récupéré depuis GitHub
- Étoiles
- 0
- Forks
- 0
- Contributeurs
- 1
- Issues ouvertes
- 0
- Issues fermées
- 1
- PR ouvertes
- 1
- PR fermées
- 8
- Licence
- MIT
- Mis à jour
En direct de GitHub · synchronisé
README README complet ↗
Récupéré depuis GitHub
The reference GitHub setup for every modulane repository. When a workflow or a setting changes in one repository, it changes here first, and the others follow this repository.
This repository is not part of any release. It is a GitHub template, so a new repository can start from it with Use this template, and modulane/repo-check compares every repository with it. See Repo check. It is public, and a repository outside modulane can start from it too: see Outside modulane.
What it holds
| Path | What it is |
|---|---|
.github/workflows/ci.yml |
CI on every pull request, ending in the single CI passed job that the main ruleset requires. Replace the checks job with the repository's own checks. |
.github/workflows/release.yml |
On every push to main, runs CI and then semantic-release: a vX.Y.Z tag and a GitHub release. Its last job gives each feature or fix listed in a pull request's Release notes section its own entry in the release, with the issues it closes. See Shared workflows. |
.github/workflows/pr-title.yml |
Checks that the pull request title is a lowercase Conventional Commit. See Shared workflows. |
.github/workflows/ai-disclosure.yml |
Fails until the pull request's AI use section says whether AI tools were used, and how. See AI disclosure. |
.github/workflows/pr-labels.yml |
Labels each pull request from its title (kind and release: label) and assigns its author, unless it is a bot. |
.github/workflows/labels.yml |
Syncs the repository labels from .github/labels.json. |
.github/workflows/zizmor.yml |
Audits workflow security on pull requests that change .github/. |
.github/workflows/repo-check.yml |
Every Monday, compares the repository with this one and keeps a pull request open with what has drifted. See Repo check. |
.github/dependabot.yml |
One grouped pull request a week for the pinned actions and shared workflows, with a ci: prefix and a 7-day cooldown, except for modulane's own releases. |
.github/labels.json |
The labels every repository uses. |
.github/CODEOWNERS, .github/PULL_REQUEST_TEMPLATE.md |
Review requests, and the pull request template with its Release notes and AI use sections and checklist. |
.releaserc.json |
semantic-release without npm publishing. |
.gitattributes, .editorconfig |
LF line endings in every checkout, Windows included, and the editor defaults. |
rulesets/main.json |
Ruleset for the default branch: no deletion or force push, signed commits, squash-merged pull requests only, and the Pull request title / Conventional Commit title, CI passed and AI disclosure / AI use section checks are required. |
rulesets/maintainer-review.json |
Ruleset for the default branch: squash merges only and one approving review from a code owner. Only org owners can bypass it, and only through a pull request. |
settings.json |
The repository settings: squash merges only, the pull request title as the commit title and an empty commit body, branches deleted after merge, and a suggestion to update a pull request's branch when it falls behind. |
security.json |
The security settings: Dependabot alerts and security updates, secret scanning with push protection, private vulnerability reporting, and approval for workflows from a first-time contributor's fork. |
Issue templates, the security policy and the code of conduct come from modulane/.github, so they are not repeated here.