feat: restore template vars for GitHub App customization #1

Merged
jakeclaw-ai[bot] merged 4 commits from feat/restore-template-vars into main 2026-03-15 11:23:09 +00:00

4 Commits

Author SHA1 Message Date
97e07611e9 fix: rename commitlint.config.js to .cjs for ESM compatibility
wagoid/commitlint-github-action v6.2.1 runs with "type": "module"
in package.json, causing .js files to be treated as ESM. The
module.exports syntax requires CommonJS, so rename to .cjs.
2026-03-15 04:22:18 -07:00
885c1415fd fix: correct wagoid/commitlint-github-action pinned SHA for v6
The previous SHA b948419...cb3d was invalid (404 on GitHub API).
Updated to the actual v6 tag commit: b948419...f3ed.
2026-03-15 04:20:59 -07:00
3ecfe2176c docs: document template-vars consumer overrides for GitHub App
Update README:
- Bump minimum common-repo version to 0.28.4
- Add 'Using a different GitHub App' section with override example
- Note release.yaml sync exception in repo structure
2026-03-15 04:19:06 -07:00
e862130db5 feat: restore template vars for GitHub App customization
All upstream blockers resolved:
- common-repo/common-repo#235: source-declared template-vars passthrough (0.28.0)
- common-repo/common-repo#239: ${{ }} GHA expression collision fix (0.28.3)
- common-repo/common-repo#249: consumer override cache key fix (0.28.4)

Requires common-repo >= 0.28.4.

CI sync check skips release.yaml since src/ uses template vars
while top-level uses hardcoded christmas-island defaults.

Consumers can override GH App credentials:
```yaml
- repo:
    url: https://github.com/christmas-island/cr-semantic-release
    ref: v2.0.0
    with:
      - template-vars:
          GH_APP_ID_VAR: MY_APP_ID
          GH_APP_KEY_SECRET: MY_APP_KEY
          GH_APP_OWNER: my-org
```
2026-03-15 04:18:40 -07:00