Skip to content

Commit e4612f7

Browse files
!
1 parent 20ea53b commit e4612f7

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

.github/actions/send_qmods_slack_notification/action.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@ name: "Send Qmods Slack notification"
22
description: "Send failing Qmods notification from pytest output"
33

44
inputs:
5+
slack_bot_token:
6+
description: "Token to authenticate with slack bot"
7+
required: true
58
pytest_output:
69
required: true
710
description: "Pytest output file path"
@@ -32,7 +35,7 @@ runs:
3235
uses: slackapi/slack-github-action@v2.1
3336
with:
3437
method: chat.postMessage
35-
token: ${{ secrets.SLACK_BOT_TOKEN }}
38+
token: ${{ inputs.slack_bot_token }}
3639
payload: |
3740
{
3841
"channel": "ci-notebooks-alerts",

.github/workflows/Test-CI-daily-notebooks-applications.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,4 +55,5 @@ jobs:
5555
if: failure()
5656
uses: ./.github/actions/send_qmods_slack_notification
5757
with:
58+
slack_bot_token: ${{ secrets.SLACK_BOT_TOKEN }}
5859
pytest-output: ./pytest-results/test-results-applications.xml

0 commit comments

Comments
 (0)