From b1e9f9706c7dc81f1057e9ff194fc2e888162264 Mon Sep 17 00:00:00 2001 From: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> Date: Mon, 13 Oct 2025 02:47:03 +0000 Subject: [PATCH] feat: add cancellation handler to post status updates when jobs are cancelled Co-Authored-By: AJ Steers --- action.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/action.yml b/action.yml index 5756c9f..fcd04d1 100644 --- a/action.yml +++ b/action.yml @@ -267,6 +267,16 @@ runs: {0} ', steps.run-poe-task.outputs.summary-text) || '' }} + - name: Append cancellation comment + if: cancelled() && steps.comment-start.outputs.comment-id + uses: peter-evans/create-or-update-comment@v4 + with: + comment-id: ${{ steps.comment-start.outputs.comment-id }} + reactions: eyes + body: | + > ${{ inputs.failure-message || format('⚠️ Poe command `{0}` was cancelled.', steps.resolve-command.outputs.command) }} + + # Create a new PR if no PR was provided