Skip to content

git-artifacts: suggest to validate installer in a PR comment #124

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

Merged
merged 1 commit into from
Mar 14, 2025

Conversation

dscho
Copy link
Member

@dscho dscho commented Mar 13, 2025

It is currently a bit cumbersome to find the download link to the installer artifact, and I even missed that it was available for testing already while the aarch64 stuff was still being built.

Let's imitate c99c7f2 (release-git(announcement): add a helpful comment, 2025-03-11) and add a helpful PR comment not only when the release finished, but also when the x86_64 installer was successfully uploaded and is ready for manual testing.

@dscho dscho marked this pull request as ready for review March 13, 2025 03:18
@dscho dscho force-pushed the suggest-to-validate-installer branch from 087abbb to ef64511 Compare March 13, 2025 03:20
@dscho
Copy link
Member Author

dscho commented Mar 13, 2025

Here is the PR comment that was added in this git-artifacts workflow run.

owner: process.env.OWNER,
repo: process.env.REPO,
issue_number: data.items[0].number,
body: `@${data.items[0].user.login}, ${body}`,
Copy link
Contributor

Choose a reason for hiding this comment

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

Looking at the example comment here, you may want to add a \n line break after @${data.items[0].user.login}, so that the ## header gets rendered correctly. WDYT?

Copy link
Member Author

Choose a reason for hiding this comment

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

Excellent point! I changed it so that @dscho ☝️ will be appended instead.

It is currently a bit cumbersome to find the download link to the
installer artifact, and I even missed that it was available for testing
already while the `aarch64` stuff was still being built.

Let's imitate c99c7f2 (release-git(announcement): add a helpful comment,
2025-03-11) and add a helpful PR comment not only when the release
finished, but also when the x86_64 installer was successfully uploaded
and is ready for manual testing.

Signed-off-by: Johannes Schindelin <[email protected]>
@dscho dscho force-pushed the suggest-to-validate-installer branch from ef64511 to 740a856 Compare March 14, 2025 09:17
@dscho dscho requested a review from dennisameling March 14, 2025 11:29
Copy link
Contributor

@dennisameling dennisameling left a comment

Choose a reason for hiding this comment

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

Nice addition!!

@dscho
Copy link
Member Author

dscho commented Mar 14, 2025

Nice addition!!

Thank you!

@dscho dscho merged commit da8bca0 into main Mar 14, 2025
@dscho dscho deleted the suggest-to-validate-installer branch March 14, 2025 15:46
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