Skip to content

fix: allow manual release from current ref#2

Merged
Chumor merged 1 commit into
mainfrom
fix/manual-release-subject-check
Jul 4, 2026
Merged

fix: allow manual release from current ref#2
Chumor merged 1 commit into
mainfrom
fix/manual-release-subject-check

Conversation

@Chumor

@Chumor Chumor commented Jul 4, 2026

Copy link
Copy Markdown
Owner

Summary

  • Allow manually triggered releases to publish the selected ref without requiring a release commit subject
  • Keep the release commit subject guard for push-triggered releases
  • Trigger the required build check when release workflow changes

Validation

  • git diff --check

Summary by CodeRabbit

  • Bug Fixes
    • Improved release validation so manually triggered release runs are no longer blocked by the commit subject check.
    • Updated workflow triggers to run checks when release workflow configuration changes, helping catch issues earlier.

- Keep release commit subject validation for push-triggered releases
- Run the required build check when release workflow changes
@coderabbitai

coderabbitai Bot commented Jul 4, 2026

Copy link
Copy Markdown

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro Plus

Run ID: e2ddd0bd-4b66-4575-926b-40fa9874ba6a

📥 Commits

Reviewing files that changed from the base of the PR and between c0a3ff7 and c3008fe.

📒 Files selected for processing (2)
  • .github/workflows/build.yml
  • .github/workflows/release.yml

📝 Walkthrough

Walkthrough

This PR updates two GitHub Actions workflow files: build.yml now triggers on changes to release.yml, and release.yml's version verification step only enforces the commit-subject match when the workflow was not triggered via workflow_dispatch.

Changes

CI Workflow Updates

Layer / File(s) Summary
Build trigger paths
.github/workflows/build.yml
Added .github/workflows/release.yml to both push and pull_request path filters so build runs on release workflow changes.
Release verification condition
.github/workflows/release.yml
The commit-subject check is now skipped when the event is workflow_dispatch, instead of always being enforced.

Estimated code review effort: 1 (Trivial) | ~3 minutes

Poem

Hop, hop, through YAML I go,
Triggers linked so builds will know,
A guard now spares the dispatch flow,
Small tweaks, but tidy—watch them grow! 🐇

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title clearly summarizes the main change: manual releases from the current ref are now allowed without requiring a release commit subject.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch fix/manual-release-subject-check

Comment @coderabbitai help to get the list of available commands.

@Chumor
Chumor merged commit c7d7834 into main Jul 4, 2026
2 checks passed
@Chumor
Chumor deleted the fix/manual-release-subject-check branch July 4, 2026 12:16
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.

1 participant