Files
ServerKit/.github
Juan DenisandClaude Opus 4.8 c062a3708d ci: restore version-bump guard/summary; bump on tags OR prefixes
Follow-up to the injection fix (0f2299f), which I'd over-trimmed. Restores
original behavior with the safety fix kept:

- Re-add the if: guard so the job skips [skip ci]/[skip version] and its own
  'chore: bump version' commits, so the bot's bump commit can't re-trigger
  the workflow.
- Re-add the Create summary step (reads the message via env TRIGGER_MSG and
  takes only the first line, so a multi-line/special-char body can't corrupt
  the markdown table or the script).
- Bump detection matches a [major]/[minor] tag OR the original conventional
  prefixes (BREAKING/major:, feat/feature/minor:), so existing feat:/BREAKING:
  commits keep bumping minor/major as before.
- Keep the original dev-only trigger and paths-ignore.

The message reaches both steps via env (COMMIT_MSG / TRIGGER_MSG), never
spliced into run-script source. Verified: YAML parses and bump detection
returns the right type for feat:/BREAKING:/[minor]/[major]/plain messages,
including ones containing backticks, pipes and $(...).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-05-31 20:01:20 -04:00
..