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

v5.0.x: CI: Fix a bug in the cherry pick checker #8952

Merged
merged 1 commit into from
May 11, 2021

Conversation

bwiseman77
Copy link

The check_cherry_pick() function in .github/workflows/git-commit-checks.py
would incorrectly allow some cherry-pick messages reffering to commits that
do not exist in the base repository, specifially when the commit exists only
on a pull request that has not been merged. This has been resolved; the
workflow will exit with a failure unless the referenced commit exists in
the base repository.

Note that this approach only works because all commits are introduced to
the open-mpi/ompi through pull requests from forks.

Signed-off-by: Steven Good steve.good.154@gmail.com
Signed-off-by: Brett Wiseman brett.wiseman@comcast.net
Signed-off-by: Christine Van Kirk christinenvankirk@gmail.com

(cherry picked from commit a641680)

The check_cherry_pick() function in .github/workflows/git-commit-checks.py
would incorrectly allow some cherry-pick messages reffering to commits that
do not exist in the base repository, specifially when the commit exists only
on a pull request that has not been merged. This has been resolved; the
workflow will exit with a failure unless the referenced commit exists in
the base repository.

Note that this approach only works because all commits are introduced to
the open-mpi/ompi through pull requests from forks.

Signed-off-by: Steven Good <steve.good.154@gmail.com>
Signed-off-by: Brett Wiseman <brett.wiseman@comcast.net>
Signed-off-by: Christine Van Kirk <christinenvankirk@gmail.com>

(cherry picked from commit a641680)
@ompiteam-bot
Copy link

Can one of the admins verify this patch?

@bwiseman77 bwiseman77 changed the title CI: Fix a bug in the cherry pick checker v5.0.x: CI: Fix a bug in the cherry pick checker May 11, 2021
@jsquyres
Copy link
Member

Corresponding master PR: #8947.
ok to test

@jsquyres jsquyres self-requested a review May 11, 2021 17:19
@jsquyres jsquyres added this to the v5.0.0 milestone May 11, 2021
@awlauria awlauria merged commit 1aa704e into open-mpi:v5.0.x May 11, 2021
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.

5 participants