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 the Check Run mirroring in build-and-deploy #41

Merged
merged 2 commits into from
Mar 16, 2023

Conversation

dscho
Copy link
Member

@dscho dscho commented Mar 16, 2023

During my work on the release-git workflow, I introduced a bug that caused the deployments in git-for-windows/MSYS2-packages#92 (comment) to fail.

This PR fixes that.

Technically, the input name `ref` is incorrect: we expect a commit hash
there, not a ref name.

That's why I changed the name while transmogrifying the code to mirror a
Check Run into a separate GitHub Action.

But in the `build-and-deploy` workflow definition, we cannot easily
rename that input because it would require an accompanying change to
`gfw-helper-github-app`, something I could not justify working on while
being busy with reimplementing the Azure Release Pipeline to release Git
for Windows versions as `release-git.yml`.

That is the reason why I forgot to adjust the spot where this input is
passed from the `build-and-deploy` workflow run to the
`check-run-action`.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
@dscho dscho requested a review from rimrul March 16, 2023 10:31
When transmogrifying the Check Run mirroring code into its own GitHub
Action, I accidentally inserted a space into the Check Run title between
`deploy` and `_<architecture>`. Let's fix this.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
@dscho dscho self-assigned this Mar 16, 2023
@dscho dscho force-pushed the fix-check-run-in-build-and-deploy branch 3 times, most recently from 4796c75 to a2fbf72 Compare March 16, 2023 11:19
@dscho dscho marked this pull request as ready for review March 16, 2023 11:20
@dscho
Copy link
Member Author

dscho commented Mar 16, 2023

Now that the deployments worked, I removed the TO-DROP commits (that essentially turned the workflow_dispatch workflow into a push one) and marked the PR ready for review.

@rimrul rimrul merged commit 5c67788 into main Mar 16, 2023
@rimrul rimrul deleted the fix-check-run-in-build-and-deploy branch March 16, 2023 11:26
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