Skip to content

Commit

Permalink
trying another one
Browse files Browse the repository at this point in the history
  • Loading branch information
enekofb committed Nov 17, 2023
1 parent 18c8ba4 commit 90a3e74
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions .github/workflows/publish-test-results.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,10 +46,19 @@ jobs:
- name: Notify slack of test results
uses: archive/github-actions-slack@d9dae40827adf93bddf939db6552d1e392259d7d # v2.7.0
id: slack
if: ${{ steps.test-report.outcome == 'failure' }}
if: steps.test-report.outcome == 'failure'
with:
slack-bot-user-oauth-access-token: ${{ secrets.SLACK_BOT_TOKEN }}
slack-channel: C063ZPPJC5U # tmp-tolerant-failures
slack-text: |
:sad-parrot: smokes failure
slack-optional-icon_url: "https://avatars.githubusercontent.com/u/9976052"
slack-optional-icon_url: "https://avatars.githubusercontent.com/u/9976052"
- name: Notify slack of test results 2
if: steps.test-report.outcome == 'failure'
id: slack2
uses: slackapi/slack-github-action@v1.23.0
with:
channel-id: C063ZPPJC5U # tmp-tolerant-failures
slack-message: "*${{inputs.check-name}}*\n>Tests :test_tube:\t\t\tPassed :check:\t\t\tSkipped :arrow_right_hook:\t\t\tFailed :x:\n>${{steps.test-report.outputs.total}} runs\t\t\t ${{steps.test-report.outputs.passed}} passed\t\t\t ${{steps.test-report.outputs.skipped}} skipped\t\t\t ${{steps.test-report.outputs.failed}} failed"
env:
SLACK_BOT_TOKEN: ${{ secrets.SLACK_BOT_TOKEN }}

0 comments on commit 90a3e74

Please sign in to comment.