Commit 8f810cb 1 parent e31e385 commit 8f810cb Copy full SHA for 8f810cb
File tree 1 file changed +5
-4
lines changed
1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -256,13 +256,14 @@ jobs:
256
256
257
257
# Notify result to Slack only on schedule (nightly run)
258
258
- if : github.event_name == 'schedule'
259
- uses : slackapi/slack-github-action@37ebaef184d7626c5f204ab8d3baff4262dd30f0 # v1.27.0
260
- env :
261
- SLACK_BOT_TOKEN : ${{ secrets.SLACK_BOT_TOKEN }}
259
+ uses : slackapi/slack-github-action@485a9d42d3a73031f12ec201c457e2162c45d02d # v2.0.0
262
260
with :
263
- channel-id : " #apm-server"
261
+ method : chat.postMessage
262
+ token : ${{ secrets.SLACK_BOT_TOKEN }}
264
263
payload : |
265
264
{
265
+ "channel": "#apm-server",
266
+ "text": "${{ github.event_name == 'schedule' && 'Nightly' || '' }} APM Server benchmarks succesfully executed!",
266
267
"blocks": [
267
268
{
268
269
"type": "section",
You can’t perform that action at this time.
0 commit comments