Skip to content

Commit aeaaae6

Browse files
authored
Update rit.yml to pass slack token in the expected format
1 parent 479a610 commit aeaaae6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/rit.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -135,9 +135,9 @@ jobs:
135135
if: success() && github.event.pull_request.head.repo.owner.login == 'rsksmart'
136136
uses: slackapi/slack-github-action@91efab103c0de0a537f72a35f6b8cda0ee76bf0a # v2.1.1
137137
env:
138-
SLACK_BOT_TOKEN: ${{ secrets.GHA_SLACK_NOTIFICATION_TOKEN }}
139138
GITHUB_EVENT_PULL_REQUEST_HTML_URL: ${{ github.event.pull_request.html_url }}
140139
with:
140+
token: ${{ secrets.GHA_SLACK_NOTIFICATION_TOKEN }}
141141
method: chat.postMessage
142142
payload: |
143143
{
@@ -155,9 +155,9 @@ jobs:
155155
if: failure() && github.event.pull_request.head.repo.owner.login == 'rsksmart'
156156
uses: slackapi/slack-github-action@91efab103c0de0a537f72a35f6b8cda0ee76bf0a # v2.1.1
157157
env:
158-
SLACK_BOT_TOKEN: ${{ secrets.GHA_SLACK_NOTIFICATION_TOKEN }}
159158
GITHUB_EVENT_PULL_REQUEST_HTML_URL: ${{ github.event.pull_request.html_url }}
160159
with:
160+
token: ${{ secrets.GHA_SLACK_NOTIFICATION_TOKEN }}
161161
method: chat.postMessage
162162
payload: |
163163
{

0 commit comments

Comments
 (0)