Skip to content

Support conventional commits in API mode - #47

Merged
ps-jay merged 3 commits into
mainfrom
api-conventional-conflict
Aug 10, 2026
Merged

Support conventional commits in API mode#47
ps-jay merged 3 commits into
mainfrom
api-conventional-conflict

Conversation

@ps-jay

@ps-jay ps-jay commented Aug 10, 2026

Copy link
Copy Markdown
Member

Fixes #45

Fetch the workflow commit message from the GitHub API when use_api and conventional_commits are both enabled, allowing the action to run without a checkout.

Adds unit and live API regression coverage for the no-checkout path.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds conventional-commit support to API mode so version calculation works without Git metadata.

Changes:

  • Fetches commit messages through the GitHub API.
  • Adds unit and live workflow regression coverage.
  • Removes reliance on git log in API mode.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.

File Description
version-increment.sh Retrieves commit messages via API.
tests/test_version-increment.bats Tests API-only conventional commits.
.github/workflows/test-and-release.yml Adds live API regression coverage.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread version-increment.sh Outdated
HSPm
HSPm previously approved these changes Aug 10, 2026
@ps-jay
ps-jay force-pushed the api-conventional-conflict branch from a46d3f5 to 2672404 Compare August 10, 2026 02:38
@ps-jay
ps-jay requested a review from HSPm August 10, 2026 02:39
@ps-jay
ps-jay enabled auto-merge August 10, 2026 02:39
@ps-jay
ps-jay merged commit 5f59cf0 into main Aug 10, 2026
7 checks passed
@ps-jay
ps-jay deleted the api-conventional-conflict branch August 10, 2026 02:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

use_api conflicts with conventional_commits: version-increment.sh unconditionally runs git log

4 participants