@@ -7,15 +7,15 @@ Default community health files, reusable workflows, and shared config for h13 re
77
88## Reusable Workflows
99
10- Call from any repo via ` uses: h13/.github/.github/workflows/<name>@v1 ` :
10+ Call from any repo via ` uses: h13/.github/.github/workflows/<name>@<sha> ` :
1111
12- | Workflow | Stack | Inputs | Steps |
13- | ---| ---| ---| ---|
14- | ` ci-node.yml ` | Node.js | ` node-version ` | npm ci (cached) → npm test |
15- | ` ci-go.yml ` | Go | — | go test -race → golangci-lint |
16- | ` ci-php.yml ` | PHP | ` php-version ` , ` php-extensions ` , ` working-directory ` , ` composer-args ` , ` test-command ` | composer install (cached) → composer test |
17- | ` ci-terraform.yml ` | Terraform | ` terraform-version ` | terraform fmt/init/validate → tflint |
18- | ` ci-markdown.yml ` | Markdown | ` glob ` | markdownlint-cli2 (org config auto-applied) |
12+ | Workflow | Stack | Inputs | Steps |
13+ | ------------------ | --------- | ------------------------------------------------------------------------------------- | ------------------------------------------- |
14+ | ` ci-node.yml ` | Node.js | ` node-version ` | npm ci (cached) → npm run lint → npm test |
15+ | ` ci-go.yml ` | Go | — | go test -race → golangci-lint |
16+ | ` ci-php.yml ` | PHP | ` php-version ` , ` php-extensions ` , ` working-directory ` , ` composer-args ` , ` test-command ` | composer install (cached) → composer test |
17+ | ` ci-terraform.yml ` | Terraform | ` terraform-version ` | terraform fmt/init/validate → tflint |
18+ | ` ci-markdown.yml ` | Markdown | ` glob ` | markdownlint-cli2 (org config auto-applied) |
1919
2020All workflows enforce ` permissions: { contents: read } ` (least-privilege).
2121
2929 pull_request :
3030jobs :
3131 ci :
32- uses : h13/.github/.github/workflows/ci-node.yml@v1
32+ uses : h13/.github/.github/workflows/ci-node.yml@c62d0eebefffc0d3ca156453f0fb7cd3dcb94f4c # main
3333` ` `
3434
3535## Versioning
3636
37- - **Non-breaking** (fixes, dependency updates): ` v1` tag moves forward
38- - **Breaking** (removed inputs, changed behavior): new major `v2`
39- - SHA pins inside workflows are auto-updated by Renovate
37+ - All workflow references use **SHA pinning** (no ` @v1` tags)
38+ - SHA pins are auto-updated by **Renovate** (Dependabot is not used)
4039
4140# # Composite Actions
4241
43- | Action | Description |
44- |---| ---|
42+ | Action | Description |
43+ | -------------------------- | ----------------------------------------------- |
4544| `actions/apply-org-config` | Download org config if no local override exists |
4645
4746# # Automation
4847
49- | Workflow | Schedule | Description |
50- |---|---|---|
51- | Compliance Audit | Monthly (1st) | Checks all repos for renovate.json, CI, branch protection |
52- | Repo Sync | On push to `sync/` | Syncs PR template to all repos |
48+ | Workflow | Schedule | Description |
49+ | ---------------- | ------------------ | ------------------------------------------------------------------------------ |
50+ | Compliance Audit | Monthly (1st) | Checks all repos for renovate.json, CI, branch protection, LICENSE, CODEOWNERS |
51+ | Repo Sync | On push to `sync/` | Syncs PR/issue templates to all non-archived repos (dynamic) |
52+
53+ # # Community Health Files
54+
55+ Org-wide defaults (applied to all repos without their own) :
56+
57+ | File | Purpose |
58+ | ----------------- | ------------------------------ |
59+ | `SECURITY.md` | Vulnerability reporting policy |
60+ | `CONTRIBUTING.md` | Contribution guidelines |
61+ | `CODEOWNERS` | Default code review ownership |
62+ | `LICENSE` | MIT license |
63+
64+ # # Dependency Policy
65+
66+ All repositories use **Renovate** exclusively for dependency management. Dependabot is not used.
67+ Shared presets are maintained in [h13/renovate-config](https://github.com/h13/renovate-config).
5368
5469# # Ecosystem
5570
5671` ` ` text
5772h13/dotfiles ← Dev environment + repo-init
5873 └─ repo-init --stack=node --github
5974 ├─ generates → renovate.json ──→ h13/renovate-config
60- ├─ generates → .github/workflows/ci.yml (calls @v1 )
75+ ├─ generates → .github/workflows/ci.yml (SHA-pinned )
6176 └─ configures → GitHub settings (branch protection, labels, alerts)
6277
6378h13/.github ← Reusable Workflows + shared config ★
6479 ├─ ci-{node,go,php,terraform,markdown}.yml (reusable, SHA-pinned)
6580 ├─ compliance-audit.yml (monthly)
66- ├─ repo-sync.yml (PR template sync)
81+ ├─ repo-sync.yml (dynamic sync to all repos )
6782 └─ apply-org-config action
6883
6984h13/renovate-config ← Shared Renovate presets
0 commit comments