chore: reuse open sync PR instead of opening a new one each run#249
Merged
muhsinking merged 1 commit intomainfrom Apr 24, 2026
Merged
chore: reuse open sync PR instead of opening a new one each run#249muhsinking merged 1 commit intomainfrom
muhsinking merged 1 commit intomainfrom
Conversation
Use a fixed sync-openapi branch with a force-push and only create a PR when one isn't already open, so repeated openapi.yaml changes update the existing PR in mintlify-docs instead of stacking new ones. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
ryanto
approved these changes
Apr 24, 2026
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.
Summary
sync-openapibranch and force-pushes each run, so consecutiveopenapi.yamlchanges update the existing PR inmintlify-docsinstead of stacking new ones.gh pr createwhen no open PR exists for the branch; otherwise logs that the existing PR was updated.muhsinkingto the assignee list for newly created sync PRs.Notes / tradeoffs
sync-openapibranch — fine since it's bot-only, but any hand-edits to that branch would be overwritten.--state open). This seemed like the right default — closing signals "don't want this" — but easy to change if we'd rather reopen.Test plan
openapi.yamland confirm a single PR opens inmintlify-docs.🤖 Generated with Claude Code