Skip to content

Commit

Permalink
Merge pull request #17 from Clever/ci-status-notify
Browse files Browse the repository at this point in the history
Microplane: add Github Action workflow for ci-notify
  • Loading branch information
Nikhil Bhatia committed Mar 30, 2022
2 parents ecfcdb4 + 86f658d commit 6783114
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 6783114

Please sign in to comment.