No description
  • Dockerfile 66.7%
  • Shell 33.3%
Find a file
2026-07-11 00:16:07 -04:00
.forgejo/workflows ci: allow manual dispatch of build-push 2026-07-10 19:13:23 -04:00
.cz.toml ci: init commitizen 2026-06-23 18:05:52 -04:00
.editorconfig ci: conditional taging 2026-06-23 18:47:34 -04:00
CHANGELOG.md bump: version 0.0.0 → 0.0.1 2026-06-23 22:06:44 +00:00
Dockerfile chore(deps): update ghcr.io/astral-sh/uv:alpine3.23 docker digest to f77e732 2026-07-08 00:06:39 +00:00
entrypoint.sh refactor: simplify Dockerfile and enhance entrypoint.sh for user configuration 2026-05-16 00:50:36 -04:00
README.md docs: usage via infisical runtime pull; no embedded signing key 2026-07-11 00:16:07 -04:00
renovate.json chore(deps): add renovate.json 2026-06-23 22:58:19 +00:00

commitizen-ci

CI image for automated version bumps + changelogs with commitizen. Bump commits are SSH-signed by the commitizen-bot account.

Usage (ModernLeft org repos)

Secrets are pulled from Infisical at run time — never store the signing key or a PAT as a repo secret. The org-level INFISICAL_CLIENT_ID/INFISICAL_CLIENT_SECRET are available to all org repos automatically.

- name: Pull secrets from Infisical
  uses: https://github.com/Infisical/secrets-action@77ab1f4ccd183a543cb5b42435fbd181189f4995 # v1.0.16
  with:
      method: universal
      client-id: ${{ secrets.INFISICAL_CLIENT_ID }}
      client-secret: ${{ secrets.INFISICAL_CLIENT_SECRET }}
      domain: https://infisical.modernleft.org
      project-slug: development
      env-slug: prod
      secret-path: "/commitizen-bot"
      export-type: env

- name: Bump version with commitizen
  uses: docker://code.modernleft.org/modernleft/commitizen-ci:0.0.1
  env:
      SSH_SIGNING_KEY: ${{ env.COMMITIZEN_SIGNING_KEY }}
      GIT_USER_NAME: commitizen-bot
      GIT_USER_EMAIL: admin+commitizenbot@modernleft.org
  with:
      args: cz bump --yes --changelog

See the working example in this repo's .forgejo/workflows/build-push.yaml (checkout with env.COMMITIZEN_PAT for pushable full-history clones).

Usage (outside the ModernLeft org)

The bot's signing key is never shared. Run the image without SSH_SIGNING_KEY (bumps land unsigned) or provide your own key. See docs.modernleft.org → Development → Service bots for the access model.