We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 15f5c7a + c765ec9 commit 1df8749Copy full SHA for 1df8749
1 file changed
.github/workflows/install-test.yaml
@@ -42,11 +42,13 @@ jobs:
42
steps:
43
- name: Post to a Slack channel
44
id: slack
45
- uses: slackapi/slack-github-action@fcfb566f8b0aab22203f066d80ca1d7e4b5d05b3 # v1.27.1
+ uses: slackapi/slack-github-action@91efab103c0de0a537f72a35f6b8cda0ee76bf0a # v2.1.1
46
with:
47
- channel-id: 'C067BD0377F'
+ method: chat.postMessage
48
+ token: ${{ secrets.SLACK_GHBOT_TOKEN }}
49
payload: |
50
{
51
+ "channel": "C067BD0377F",
52
"blocks": [
53
54
"type": "header",
@@ -75,5 +77,3 @@ jobs:
75
77
}
76
78
]
79
- env:
- SLACK_BOT_TOKEN: ${{ secrets.SLACK_GHBOT_TOKEN }}
0 commit comments