Skip to content

Commit 178da8b

Browse files
author
Nikhil Bhatia
authored
Merge pull request #105 from Clever/ci-status-notify
Microplane: add Github Action workflow for ci-notify
2 parents fcf3680 + f18120d commit 178da8b

1 file changed

Lines changed: 15 additions & 0 deletions

File tree

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
name: Notify CI status
2+
3+
on: status
4+
5+
jobs:
6+
call-workflow:
7+
if: >-
8+
github.event.branches[0].name == 'master' &&
9+
(github.event.state == 'error' || github.event.state == 'failure')
10+
uses: Clever/ci-scripts/.github/workflows/reusable-notify-ci-status.yml@master
11+
secrets:
12+
CIRCLE_CI_INTEGRATIONS_URL: ${{ secrets.CIRCLE_CI_INTEGRATIONS_URL }}
13+
CIRCLE_CI_INTEGRATIONS_USERNAME: ${{ secrets.CIRCLE_CI_INTEGRATIONS_USERNAME }}
14+
CIRCLE_CI_INTEGRATIONS_PASSWORD: ${{ secrets.CIRCLE_CI_INTEGRATIONS_PASSWORD }}
15+
SLACK_BOT_TOKEN: ${{ secrets.DAPPLE_BOT_TOKEN }}

0 commit comments

Comments
 (0)