Skip to content
This repository has been archived by the owner on Jul 10, 2023. It is now read-only.

Commit

Permalink
[RSDK-1786] add slack alerts for failed main branch updates (#178)
Browse files Browse the repository at this point in the history
  • Loading branch information
JohnN193 authored Mar 16, 2023
1 parent 6c1e77a commit 519072a
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,19 @@ on:
jobs:
gotest:
uses: viamrobotics/slam/.github/workflows/gotest.yml@main
slack-workflow-status:
if: ${{ failure() }}
name: Post Workflow Status To Slack
needs:
- gotest
runs-on: ubuntu-latest
permissions:
actions: 'read'
steps:
- name: Slack Workflow Notification
uses: Gamesight/slack-workflow-status@master
with:
repo_token: ${{secrets.GITHUB_TOKEN}}
slack_webhook_url: ${{secrets.SLACK_WEBHOOK_URL}}
channel: '#team-slam-github-notifs'
name: 'Workflow Status'

0 comments on commit 519072a

Please sign in to comment.