Compare commits
2 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
f78d1c6b9b | ||
|
|
a8a4e207fe |
1 changed files with 8 additions and 3 deletions
11
.github/workflows/notify-ci-status.yml
vendored
11
.github/workflows/notify-ci-status.yml
vendored
|
|
@ -1,12 +1,17 @@
|
||||||
name: Notify CI status
|
name: Notify CI status
|
||||||
|
|
||||||
on: status
|
on:
|
||||||
|
check_suite:
|
||||||
|
types: [completed]
|
||||||
|
status:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
call-workflow:
|
call-workflow:
|
||||||
if: >-
|
if: >-
|
||||||
github.event.branches[0].name == 'master' &&
|
(github.event.branches[0].name == github.event.repository.default_branch &&
|
||||||
(github.event.state == 'error' || github.event.state == 'failure')
|
(github.event.state == 'error' || github.event.state == 'failure')) ||
|
||||||
|
(github.event.check_suite.head_branch == github.event.repository.default_branch &&
|
||||||
|
github.event.check_suite.conclusion != 'success')
|
||||||
uses: Clever/ci-scripts/.github/workflows/reusable-notify-ci-status.yml@master
|
uses: Clever/ci-scripts/.github/workflows/reusable-notify-ci-status.yml@master
|
||||||
secrets:
|
secrets:
|
||||||
CIRCLE_CI_INTEGRATIONS_URL: ${{ secrets.CIRCLE_CI_INTEGRATIONS_URL }}
|
CIRCLE_CI_INTEGRATIONS_URL: ${{ secrets.CIRCLE_CI_INTEGRATIONS_URL }}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue