feat: support custom messages; tests: add slash command dispatch#13
Merged
aaronsteers merged 14 commits intomainfrom Jun 19, 2025
Merged
feat: support custom messages; tests: add slash command dispatch#13aaronsteers merged 14 commits intomainfrom
aaronsteers merged 14 commits intomainfrom
Conversation
Contributor
There was a problem hiding this comment.
Pull Request Overview
This PR adds customizable comment messages to the existing Action, introduces dummy test tasks, and creates a new workflow to dispatch slash commands.
- Define
start-message,success-message, andfailure-messageinputs inaction.ymland update comment bodies to use them with fallbacks. - Add placeholder
testandtest-failtasks topoe_tasks.toml. - Introduce a new
slash-command-dispatchworkflow to handle issue comment commands.
Reviewed Changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| poe_tasks.toml | Added dummy test and test-fail tasks |
| action.yml | Added custom message inputs and updated comment bodies |
| .github/workflows/slash-command-dispatch.yml | New workflow for dispatching slash commands |
Comments suppressed due to low confidence (3)
action.yml:110
- Include a space after
poein the default message. For example:('**Runningpoe ' + steps.resolve-command.outputs.command + '...**')to match the original formatting.
> ${{ inputs.start-message || ('**Running `poe' + steps.resolve-command.outputs.command + '`...**') }}
.github/workflows/slash-command-dispatch.yml:8
- [nitpick] Consider using
runs-on: ubuntu-latestor a supported specific runner (e.g.,ubuntu-22.04) to ensure compatibility and automatic upgrades.
runs-on: ubuntu-24.04
.github/workflows/slash-command-dispatch.yml:39
- Upgrade to
peter-evans/create-or-update-comment@v4for consistency with the other steps and to benefit from the latest fixes and features.
uses: peter-evans/create-or-update-comment@v1
|
I hope this works! Everything went great! I'm super happy about it. |
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.