Skip to content

Commit

Permalink
internal: Use post payload for Slack notification (#3752)
Browse files Browse the repository at this point in the history
  • Loading branch information
xerial authored Dec 6, 2024
1 parent 68239b7 commit 6fa9eb8
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions .github/workflows/snapshot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,9 +55,11 @@ jobs:
- name: Notify the completion to Slack
uses: slackapi/[email protected]
with:
method: chat.postMessage
token: ${{ secrets.SLACK_BOT_TOKEN }}
# wvlet dev-snapshot channel
channel-id: 'C04CC79BZ7A'
# Update the thread
update-ts: ${{ steps.slack.outputs.ts }}
slack-message: "[done] Published a snapshot version of airframe: `${{ env.AIRFRAME_VERSION }}`"
payload: |
# wvlet dev-snapshot channel
channel: C04CC79BZ7A
# Update the thread
thread_ts: ${{ steps.slack.outputs.ts }}
text: "[done] Published a snapshot version of airframe: `${{ env.AIRFRAME_VERSION }}`"

0 comments on commit 6fa9eb8

Please sign in to comment.