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
Can we have support for using slack-message with incoming webhooks. Right now it seems that only payload key is supported.
The reason for this request is that for example for Pull Request notifications we ended up sometimes with malformed JSON object.
The text was updated successfully, but these errors were encountered:
👋 With the latest @2.0.0 release, the provided input payload of incoming webhooks should match other messaging APIs, meaning text and blocks can be used. Reference.
This is a breaking change that replaces slack-message altogether, meaning an updated step might resemble this:
- name: Post a message in a channeluses: slackapi/slack-github-action@v2.0.0with:
webhook: ${{ secrets.SLACK_WEBHOOK_URL }}webhook-type: incoming-webhookpayload: | text: "And a new message is posted."
I'll close this issue but am of course open to following up with additional ideas or questions! Thanks too for sharing this suggestion!
Can we have support for using
slack-message
with incoming webhooks. Right now it seems that onlypayload
key is supported.The reason for this request is that for example for Pull Request notifications we ended up sometimes with malformed JSON object.
The text was updated successfully, but these errors were encountered: