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

Only search src/version in rust-lang/rust, not subtrees #85

Merged
merged 1 commit into from
Jun 11, 2024

Conversation

pietroalbini
Copy link
Member

While branching off the beta today, promote-release pushed the wrong merge commit to the beta branch. It turned out that commit was from miri, as part of a subtree pull. This was because the code in promote-release checked any commit authored by bors, so subtree pulls merged by bors in other repositories would also be discovered.

This PR fixes the problem by instead only walking to the first parent of each commit, restricting the search to just the merge commits bors pushed to rust-lang/rust, and not also the commits in the PRs being merged (which could include subtree pulls).

@pietroalbini pietroalbini merged commit dd7a743 into master Jun 11, 2024
6 checks passed
@pietroalbini pietroalbini deleted the pa-fix-commit-walking branch June 11, 2024 10:03
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