Skip to content

Commit c765ec9

Browse files
author
ppawlowski
committed
Bump slack-github-action to v2.2.1 in Install Test workflow
1 parent 5d6c972 commit c765ec9

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

.github/workflows/install-test.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -42,11 +42,13 @@ jobs:
4242
steps:
4343
- name: Post to a Slack channel
4444
id: slack
45-
uses: slackapi/slack-github-action@fcfb566f8b0aab22203f066d80ca1d7e4b5d05b3 # v1.27.1
45+
uses: slackapi/slack-github-action@91efab103c0de0a537f72a35f6b8cda0ee76bf0a # v2.1.1
4646
with:
47-
channel-id: 'C067BD0377F'
47+
method: chat.postMessage
48+
token: ${{ secrets.SLACK_GHBOT_TOKEN }}
4849
payload: |
4950
{
51+
"channel": "C067BD0377F",
5052
"blocks": [
5153
{
5254
"type": "header",
@@ -75,5 +77,3 @@ jobs:
7577
}
7678
]
7779
}
78-
env:
79-
SLACK_BOT_TOKEN: ${{ secrets.SLACK_GHBOT_TOKEN }}

0 commit comments

Comments
 (0)