GareArc / dify-helm-ee-release-mcp

fix: correct commit containment logic in check_commit_in_branch
When comparing commit...branch via GitHub API: - status='ahead' means branch is ahead of commit (commit is ancestor) - This means commit IS in the branch, not outside it Previous logic incorrectly checked for 'behind' instead of 'ahead'. Test case: ef119b4...main returned 'ahead' and ef119b4 is in main.
GareArc GareArc committed on Jan 19, 2026, 11:37 PM
Showing 1 changed files +6 additions -6 deletions
Browse files at this commit โ†’