Skip to content

Commit 27f67eb

Browse files
deps: update publish workflow to fix slack notification
1 parent eaa293c commit 27f67eb

1 file changed

Lines changed: 3 additions & 4 deletions

File tree

.github/workflows/publish.yaml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -57,8 +57,10 @@ jobs:
5757
5858
- name: Post to a Slack channel
5959
id: slack
60-
uses: slackapi/slack-github-action@v3
60+
uses: slackapi/slack-github-action@v3.0.1
6161
with:
62+
webhook: ${{ secrets.PIPELINE_SLACK_CHANNEL_WEBHOOK_URL }}
63+
webhook-type: incoming-webhook
6264
# Slack channel id, channel name, or user id to post message.
6365
# See also: https://api.slack.com/methods/chat.postMessage#channels
6466
# channel-id: 'pipeline'
@@ -103,6 +105,3 @@ jobs:
103105
}
104106
]
105107
}
106-
env:
107-
SLACK_WEBHOOK_URL: ${{ secrets.PIPELINE_SLACK_CHANNEL_WEBHOOK_URL }}
108-
SLACK_WEBHOOK_TYPE: INCOMING_WEBHOOK

0 commit comments

Comments
 (0)