-
Notifications
You must be signed in to change notification settings - Fork 238
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
SLACK_THREAD_TS not working or needs better documentation #210
Comments
Looks like there was a PR that was setting the output_ts but its not in the merged code cc. @L0RD-ZER0 |
any updates? the output for |
Fixes rtCamp#210 Add support for `SLACK_THREAD_TS` variable and improve documentation. * Add `outputs` section in `action.yml` to include `ts` output. * Set `ts` output after sending the Slack message in `main.go`. * Add a function to extract the `ts` value from the Slack response in `main.go`. * Handle the `SLACK_THREAD_TS` variable in `entrypoint.sh` and `main.sh`. * Improve documentation in `README.md` on how to obtain the timestamp of the parent message. --- For more details, open the [Copilot Workspace session](https://copilot-workspace.githubnext.com/rtCamp/action-slack-notify/issues/210?shareId=XXXX-XXXX-XXXX-XXXX).
could anyone take a look @mrrobot47 ? |
jobs:
ec2-deployment: |
As of right now, the action doesn't set a |
see explanation here #212 (comment) |
Already checked that out before replying. Slack doesn't give data for webhooks, only tokens. That's why you don't have a |
Hey everyone! Just wanted to give you a heads-up on some upcoming changes regarding how you send messages. Over the next few weeks/months, depending on availability, we'll be looking into shifting our focus towards token-based messaging as the preferred method, and webhooks will still be supported as they are currently. To the folks who are unaware, Slack is looking towards deprecating the Incoming Webhooks. You can find more information about that on the relevant page for the Incoming Webhooks intgration on slack marketplace.
Therefore, this decision to move forward towards supporting token based messaging, and to push it forward towards it being the new default. Now, to clarify a few things before you ask:
cc @mrrobot47 |
Hi,
From README for variable
SLACK_THREAD_TS
I gotBut still not clear how would I get the timestamp of the parent mesage. Looking at slack api ts seems a better output but when I tried I get separate messages not in threads
Better documentation or on how to use this will be appreciated.
The text was updated successfully, but these errors were encountered: