Skip to content

fix: log merge group failure manual removal#33

Closed
itsyoboieltr wants to merge 1 commit intomainfrom
fix/log-merge-group-failure-manual-removal
Closed

fix: log merge group failure manual removal#33
itsyoboieltr wants to merge 1 commit intomainfrom
fix/log-merge-group-failure-manual-removal

Conversation

@itsyoboieltr
Copy link
Contributor

@itsyoboieltr itsyoboieltr commented Jan 8, 2025

During testing, we discovered that manually removed PRs were also reported as failed. This PR handles this case, as GitHub Actions continue running even after the PR has already been removed. The newly added step checks if the head commit hash is in the merge queue, and skips logging if it is not.

Fixes #12345

@itsyoboieltr
Copy link
Contributor Author

We tested the fix, and it did not work, so we won't be handling the case of manual removals. It should happen rarely enough, that it will not significantly skew our numbers.

@itsyoboieltr itsyoboieltr deleted the fix/log-merge-group-failure-manual-removal branch January 15, 2025 16:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants