Merge pull request #67 from Clever/ci-status-notify

Microplane: add Github Action workflow for ci-notify
This commit is contained in:
Nikhil Bhatia 2022-03-29 20:30:42 -07:00 committed by GitHub
commit 9a1371d965
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

15
.github/workflows/notify-ci-status.yml vendored Normal file
View file

@ -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 }}