Skip to content

ci(build-image-pr): react to trigger comment and post built image as PR comment - #1588

Merged
perber merged 1 commit into
mainfrom
ci/build-image-pr-feedback
Sep 25, 2026
Merged

perber merged 1 commit into
mainfrom
ci/build-image-pr-feedback

Conversation

@perber

@perber perber commented Sep 25, 2026

Copy link
Copy Markdown
Owner

Summary

  • React with 👍 on the /create-test-image comment as soon as the workflow starts, so it's clear the command was picked up.
  • Post the built image reference (with a docker pull snippet) as a PR comment once the build & push succeeds, so the result is visible without opening the Actions tab.
  • Adds issues: write permission, required for both the reaction and the comment.

Test plan

  • Comment /create-test-image on a PR as a repo collaborator/owner and confirm the 👍 reaction appears immediately.
  • Wait for the build to finish and confirm a PR comment appears with the correct ghcr.io/.../leafwiki:pr-<num>-<sha> image tag.
  • Confirm the comment is skipped if the build step fails.

🤖 Generated with Claude Code

…PR comment

React with a thumbs-up on the /create-test-image comment as soon as the
pipeline starts, and post the built image reference as a PR comment once
the build succeeds, so the outcome is visible without checking Actions.
@perber
perber merged commit de3e3f0 into main Sep 25, 2026
9 checks passed
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.

1 participant