Skip to content

fixes #33 Read config from main branch instead of working directory#34

Merged
mattsgarlata merged 1 commit intomainfrom
issue-33-manual-merge-config-from-main
Feb 25, 2026
Merged

fixes #33 Read config from main branch instead of working directory#34
mattsgarlata merged 1 commit intomainfrom
issue-33-manual-merge-config-from-main

Conversation

@mattsgarlata
Copy link
Copy Markdown
Member

Closes #33

manual-merge.sh reads .spider-merge-bot-config.json from the working directory, but the script checks out different branches during execution. After resolving a conflict (which leaves you on a release branch), re-running the script picks up that branch's stale config — potentially skipping branches in the merge chain.

Adds a config_json() helper that always reads the config via git show origin/main: so the merge chain is correct regardless of which branch is checked out.

Made with Cursor

Co-authored-by: Cursor <cursoragent@cursor.com>
@mattsgarlata mattsgarlata marked this pull request as ready for review February 25, 2026 12:16
@mattsgarlata mattsgarlata merged commit 27abcbf into main Feb 25, 2026
1 check passed
@mattsgarlata mattsgarlata deleted the issue-33-manual-merge-config-from-main branch February 25, 2026 12:17
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.

manual-merge.sh reads config from working directory instead of main branch

1 participant