File tree Expand file tree Collapse file tree 2 files changed +5
-1
lines changed
actions/send_qmods_slack_notification Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -2,6 +2,9 @@ name: "Send Qmods Slack notification"
22description : " Send failing Qmods notification from pytest output"
33
44inputs :
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"
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",
Original file line number Diff line number Diff line change 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
You can’t perform that action at this time.
0 commit comments