Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 9 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,13 @@ jobs:
uses: ./
env:
SEMVERTAG_BRANCH_PREFIX__MINOR: '["feat/"]'
- name: Verify outputs were emitted
- name: Verify outputs match the no-bump contract
# The CLI queries the GitHub API for the latest commit on the default
# branch (not the local PR checkout), so on every PR it lands in one
# of branch-prefix's no-bump statuses (`already_tagged`,
# `no_merge_commit`, `no_conforming_commit`) — all normalized to
# `no-bump` by action.yml. `tag` is intentionally NOT asserted:
# `already_tagged` populates it with the existing tag.
run: |
test -n "${{ steps.semvertag.outputs.status }}"
test -n "${{ steps.semvertag.outputs.bump }}"
test "${{ steps.semvertag.outputs.status }}" = "no-bump"
test "${{ steps.semvertag.outputs.bump }}" = "none"
Loading