Skip to content

Commit 3e39cc3

Browse files
authored
Update build.yml
1 parent 94202a9 commit 3e39cc3

1 file changed

Lines changed: 17 additions & 0 deletions

File tree

.github/workflows/build.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,3 +61,20 @@ jobs:
6161
env:
6262
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Needed to get PR information, if any
6363
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
64+
65+
slack-workflow-status:
66+
if: always()
67+
name: Post Workflow Status To Slack
68+
needs: [ build ]
69+
runs-on: ubuntu-latest
70+
steps:
71+
- name: Slack Workflow Notification
72+
uses: Gamesight/slack-workflow-status@master
73+
with:
74+
# Required Input
75+
repo_token: ${{secrets.GITHUB_TOKEN}}
76+
slack_webhook_url: ${{secrets.SLACK_WEBHOOK_URL}}
77+
# Optional Input
78+
name: 'Github Actions[bot]'
79+
icon_url: 'https://octodex.github.com/images/mona-the-rivetertocat.png'
80+

0 commit comments

Comments
 (0)