-
Notifications
You must be signed in to change notification settings - Fork 798
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
action-test-results-to-slack doesn't support workflow_dispatch #39412
Comments
I'd recommend someone taking on this request to allow for using appropriately named inputs to optionally specify a sha and source repo, in the same manner that the handling for 'repository_dispatch' uses |
Thank you! in the meantime, if I use a fork, is this what you are suggesting @anomiex ?
|
If you're going to make a fork, you could also submit a PR for us to review. 🙂 As for the code, it looks ok to me except that you'd want to do on:
workflow_dispatch:
inputs:
sha:
description: 'Commit tested'
type: string
repository:
description: 'Repository tested'
type: string |
Thank you! Will do! I will test on my fork first and then submit a PR. |
Went ahead and created a PR. Happy to "edit down" to the minimal changes if that makes sense: |
Looks like it may have been automatically closed, but as I mentioned, I really think these are the changes that matter:
|
You'll need to make the PR against the Automattic/jetpack repository. The corresponding file is at projects/github-actions/test-results-to-slack/src/message.js. |
Impacted plugin
None / Other
Quick summary
I just started using this plugin and noticed that all workflow_dispatch events will be grouped because the eventName is not handled.
I think it would be possibly sufficient to add:
at: https://github.com/Automattic/action-test-results-to-slack/blob/trunk/src/message.js#L98
But, of course, another implementation would be fine! Just trying to avoid all workflow_dispatch being grouped as it is easy to lose track of those messages in the history.###
Steps to reproduce
A clear and concise description of what you expected to happen.
Separate messages are sent to slack.
What actually happened
All workflow_dispatch messages are grouped.
Impact
One
Available workarounds?
No and the platform is unusable
If the above answer is "Yes...", outline the workaround.
No response
Platform (Simple and/or Atomic)
No response
Logs or notes
No response
The text was updated successfully, but these errors were encountered: