Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Retry merge commit retrieval on failure
Sometimes when merge commit retrieval fails (because of race condition most likely as pull request event is no ready yet) build-images builds all images because selective check does not know the merge commit (in pull request target vuild image failure). That was the only side effect. because otherwise build image had a fallback to github.event.pull_request.head.sha in this case. With this PR, we will retry it and fallback explicitly to github.event.pull_request.head.sha if it does not work.
- Loading branch information