-
Notifications
You must be signed in to change notification settings - Fork 235
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
Fix SLACK_THREAD_TS not working and improve documentation #212
Open
albertoxamin
wants to merge
2
commits into
rtCamp:master
Choose a base branch
from
albertoxamin:fix-slack-thread-ts
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+43
−1
Conversation
This file contains 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
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).
looks great, waiting for this change. |
herder
reviewed
Dec 16, 2024
| | | 2. Click on the "More actions" button (three vertical dots) on the message. | | ||
| | | 3. Select "Copy link" from the dropdown menu. | | ||
| | | 4. Paste the copied link in a text editor or any other place where you can see the full URL. | | ||
| | | 5. The timestamp of the parent message is the last part of the URL, which looks like `1586130833.000100`. | |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could we add a mention here that it's now possible to get a reference to a previously posted message via the ts
output?
any updates on this? |
This is needed please - Currently Thread TS not working as an output |
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.
Fixes #210
Add support for
SLACK_THREAD_TS
variable and improve documentation.outputs
section inaction.yml
to includets
output.ts
output after sending the Slack message inmain.go
.ts
value from the Slack response inmain.go
.SLACK_THREAD_TS
variable inentrypoint.sh
andmain.sh
.README.md
on how to obtain the timestamp of the parent message.For more details, open the Copilot Workspace session.