You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hey @dstrates and those following along 👋 We don't support a specific input parameter for the reply_broadcast parameter but this can be included in the payload with a message to decide if the threaded message should be broadcast:
This found better support in the @v2.0.0 release, where the payload is now sent to a provided Slack API method like so:
- name: Post the first example messageuses: slackapi/slack-github-action@v2.0.0id: examplewith:
method: chat.postMessagetoken: ${{ secrets.SLACK_BOT_TOKEN }}payload: | channel: ${{ secrets.SLACK_CHANNEL_ID }} text: "Something started..."
- name: Broadcast a reply to the exampleuses: slackapi/slack-github-action@v2.0.0with:
method: chat.postMessagetoken: ${{ secrets.SLACK_BOT_TOKEN }}payload: | channel: ${{ secrets.SLACK_CHANNEL_ID }} reply_broadcast: true thread_ts: "${{ steps.example.outputs.ts }}" text: "Status update: LGTM!"
This is a super great suggestion and I'll close this issue now that we're supporting it! But please write back if you're finding strangeness with these changes 🙏
Activity
zimeg commentedon May 31, 2024
Hey @dstrates and those following along 👋 We don't support a specific input parameter for the
reply_broadcastparameter but this can be included in thepayloadwith a message to decide if the threaded message should be broadcast:zimeg commentedon Nov 15, 2024
This found better support in the
@v2.0.0release, where thepayloadis now sent to a provided Slack API method like so:This is a super great suggestion and I'll close this issue now that we're supporting it! But please write back if you're finding strangeness with these changes 🙏