Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use MergedEvent to improve the merge commit detection #503

Merged
merged 1 commit into from
Jan 3, 2025

Conversation

draftcode
Copy link
Contributor

@draftcode draftcode commented Jan 2, 2025

Even though PR is in "MERGED" state, the mergeCommit field can be empty
in the GitHub API response. Use the MergedEvent to get the merge commit
hash to complement the detection.

@draftcode draftcode requested a review from a team as a code owner January 2, 2025 21:01
Copy link
Contributor

aviator-app bot commented Jan 2, 2025

Current Aviator status

Aviator will automatically update this comment as the status of the PR changes.
Comment /aviator refresh to force Aviator to re-examine your PR (or learn about other /aviator commands).

This PR was merged using Aviator.


See the real-time status of this PR on the Aviator webapp.
Use the Aviator Chrome Extension to see the status of your PR within GitHub.

Copy link
Contributor

aviator-app bot commented Jan 2, 2025

✅ FlexReview Status

Owner: aviator-co/engineering (expertise assignment)
Review SLO: 7 business hours if PR size is <= 200 LOC for the first response.

@aviator-app aviator-app bot requested a review from jainankit January 2, 2025 21:01
@draftcode draftcode requested a review from tulioz January 2, 2025 21:02
@draftcode draftcode force-pushed the better_merge_detection branch from 7259cf1 to 66bb6c7 Compare January 3, 2025 00:18
Even though PR is in "MERGED" state, the mergeCommit field can be empty
in the GitHub API response. Use the MergedEvent to get the merge commit
hash to complement the detection.
@draftcode draftcode force-pushed the better_merge_detection branch from 66bb6c7 to ac1fde9 Compare January 3, 2025 01:24
@aviator-app aviator-app bot merged commit 4a35b85 into master Jan 3, 2025
3 checks passed
@aviator-app aviator-app bot deleted the better_merge_detection branch January 3, 2025 01:24
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.

2 participants