Skip to content
EndikaPublic

About

Default community health files for all my repositories

Resources

Security policy

Stars

0 stars

Watchers

1 watching

Forks

Repository files navigation

.github

Default community health files for all my repositories.

GitHub falls back to this repo for any file a repository does not define itself, so FUNDING.yml here puts the Sponsor button on every repo at once. A repo that needs something different just adds its own copy.

Reusable workflows

The CI and release workflows my repositories share live in .github/workflows/. A repository calls them at the moving major tag, so a compatible change here reaches every repository at once:

jobs:
  ci:
    uses: Endika/.github/.github/workflows/web-ci.yml@v1
Workflow What it does
web-ci.yml npm run format:check, lint, type:check, test:coverage (so the repository's thresholds apply) and build; knip and secret-scan when the repository has them; mutation tests the logic a pull request changes; optional e2e; commitlint when the repository has a config; dependency review; one all-green job to require
web-deploy.yml Builds with the repository's VITE_* secrets (secrets: inherit) and deploys to GitHub Pages
release-please.yml Opens the release pull request with the RELEASE_PLEASE_TOKEN PAT and sets it to auto-merge
codeql.yml CodeQL with the security-and-quality queries
dependabot-auto-merge.yml Auto-merges Dependabot's minor and patch updates (call it from pull_request_target)
delete-closed-pr-branch.yml Deletes a pull request's branch once it is closed

Every merge to main goes through release-please: it tags v1.x.y and moves v1. A breaking change (feat!:) starts v2, and repositories move to it when they choose.

About

Default community health files for all my repositories

Resources

Security policy

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors