Conversation
Calls GitLab PUT /merge_requests/:iid/merge with merge_when_pipeline_succeeds after creating or updating an MR. Also works when MR already exists without --update-mr. Validates that --auto-merge and --mr-exists are mutually exclusive. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
If GitLab returns 201 with empty or invalid JSON body, createMR no longer fails. Instead it returns MR with zero IID, and auto-merge is skipped with a warning. Prevents false pipeline failures when MR is already created. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Contributor
Author
🚀 Release Preview✨ Impact: This PR will trigger a MINOR (new features) 📋 Details
🔄 What happens after merge:
This comment is automatically updated by the Release Coordination workflow. |
Show "enabling auto-merge" instead of "Use --update-mr flag" when --auto-merge is set, since auto-merge will actually proceed. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Empty body (EOF) is handled silently. Malformed JSON (e.g. HTML from a proxy) prints a warning with the parse error. Neither case fails the pipeline since the MR was already created. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Empty body (EOF) is still tolerated since the MR was created. But invalid JSON (e.g. HTML from a proxy) now returns an error instead of being silently ignored. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Contributor
Author
✅ Merged SuccessfullyYour changes have been merged to main! Here's what happens next: 🔄 Automated Workflows
📋 Next Steps
📚 DocumentationThank you for contributing! 🎉 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
🔄 Auto-Generated Pull Request
📊 Change Summary
🎯 Important Changes
📝 Recent Commits
📁 Changed Files
Click to expand list of changed files
CLAUDE.mdREADME.mdmain.gomain_test.go🐳 Docker Image
A Docker image will be automatically built and published for this PR with tag
pr-86.You can find the exact command in the Docker workflow run or check the GitHub Container Registry.
🤖 This PR was automatically created and updated by GitHub Actions.
📅 Last updated: 2026-03-05 13:29:24 UTC