Skip to content

feat: add fast-forward_or_merge merge method#17

Merged
github-actions[bot] merged 2 commits intomainfrom
feat/fast-forward-or-merge
Apr 16, 2026
Merged

feat: add fast-forward_or_merge merge method#17
github-actions[bot] merged 2 commits intomainfrom
feat/fast-forward-or-merge

Conversation

@williamdes
Copy link
Copy Markdown
Member

Summary

  • Add new fast-forward_or_merge merge method that attempts a fast-forward first, falling back to a regular merge if the base branch is not an ancestor of the head
  • Updates action.yml, README documentation, and includes two new tests (happy path + fallback)

Test plan

  • cargo test — all 29 unit tests + 3 integration tests pass
  • Use in a workflow with merge-method: fast-forward_or_merge on a linear PR (should fast-forward)
  • Use on a non-linear PR (should fall back to merge)

🤖 Generated with Claude Code
via Happy

williamdes and others added 2 commits April 16, 2026 22:56
Attempt a fast-forward first; if the base branch is not an ancestor
of the head, fall back to a regular merge.

Generated with [Claude Code](https://claude.ai/code)
via [Happy](https://happy.engineering)

Co-Authored-By: Claude <noreply@anthropic.com>
Co-Authored-By: Happy <yesreply@happy.engineering>
Generated with [Claude Code](https://claude.ai/code)
via [Happy](https://happy.engineering)

Co-Authored-By: Claude <noreply@anthropic.com>
Co-Authored-By: Happy <yesreply@happy.engineering>
@williamdes williamdes self-assigned this Apr 16, 2026
@williamdes williamdes added the merge-it Merge the PR label Apr 16, 2026
@github-actions github-actions Bot removed the merge-it Merge the PR label Apr 16, 2026
@github-actions github-actions Bot merged commit 548316f into main Apr 16, 2026
6 checks passed
@github-actions github-actions Bot deleted the feat/fast-forward-or-merge branch April 16, 2026 21:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant