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

fix: log merge group failure manual removal #33

Closed

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