Skip to content

Commit

Permalink
Microplane: add Github Action workflow for ci-notify
Browse files Browse the repository at this point in the history
  • Loading branch information
nbhatia823 committed Mar 29, 2022
1 parent fca725b commit 86bf94a
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .github/workflows/notify-ci-status.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
name: Notify CI status

on: status

jobs:
call-workflow:
if: >-
github.event.branches[0].name == 'master' &&
(github.event.state == 'error' || github.event.state == 'failure')
uses: Clever/ci-scripts/.github/workflows/reusable-notify-ci-status.yml@master
secrets:
CIRCLE_CI_INTEGRATIONS_URL: ${{ secrets.CIRCLE_CI_INTEGRATIONS_URL }}
CIRCLE_CI_INTEGRATIONS_USERNAME: ${{ secrets.CIRCLE_CI_INTEGRATIONS_USERNAME }}
CIRCLE_CI_INTEGRATIONS_PASSWORD: ${{ secrets.CIRCLE_CI_INTEGRATIONS_PASSWORD }}
SLACK_BOT_TOKEN: ${{ secrets.DAPPLE_BOT_TOKEN }}

0 comments on commit 86bf94a

Please sign in to comment.