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

Github Actions: Move manual changes logic earlier in the build process #11470

Merged
merged 2 commits into from
Aug 2, 2022

Conversation

abbysmal
Copy link
Contributor

@abbysmal abbysmal commented Aug 2, 2022

This PR addresses @xavierleroy grievances where it is possible for a manual build to fail if a PR is merged before all the checks have been completed.

@dra27 analysis suggests that this is related to the PR being closed and the reference being lost causes the logic in the detection script to fail.

As such, moving the detection to be one of the first steps the Build workflow does reduces tremendously the chances of such things to happen.

Copy link
Member

@dra27 dra27 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Lovely, thank you!

@dra27 dra27 merged commit 420e9c1 into ocaml:trunk Aug 2, 2022
dra27 added a commit that referenced this pull request Aug 2, 2022
Github Actions: Move manual changes logic earlier in the build process

(cherry picked from commit 420e9c1)
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