Some checks failed
CI / testsuite (pgsql, 8.2, ) (push) Failing after 4m38s
CI / testsuite (mysql, 8.2, ) (push) Failing after 9m2s
CI / testsuite (pgsql, 8.4, ) (push) Successful in 8m59s
CI / testsuite (sqlite, 8.2, prefer-lowest) (push) Failing after 3m30s
CI / testsuite (sqlite, 8.2, ) (push) Failing after 8m10s
CI / testsuite (mysql, 8.4, ) (push) Successful in 19m59s
CI / testsuite (sqlite, 8.4, ) (push) Successful in 6m18s
CI / Coding Standard & Static Analysis (push) Successful in 12m34s
32 lines
912 B
YAML
32 lines
912 B
YAML
---
|
|
name: CI Build Status
|
|
|
|
on:
|
|
workflow_run:
|
|
workflows:
|
|
- CI
|
|
types:
|
|
- completed
|
|
jobs:
|
|
on-success:
|
|
runs-on: ubuntu-latest
|
|
if: ${{ github.event.workflow_run.conclusion == 'success' }}
|
|
steps:
|
|
- name: Webhook
|
|
uses: zzzze/webhook-trigger@master
|
|
with:
|
|
data: "{\"text\":\"${{ gitea.repository }} build succeeded 🎉\"}"
|
|
webhook_url: ${{ secrets.BUILD_STATUS_NOTIFY_WEBHOOK_URL }}
|
|
options: "-H \"Content-Type: application/json\""
|
|
|
|
on-failure:
|
|
runs-on: ubuntu-latest
|
|
if: ${{ github.event.workflow_run.conclusion == 'failure' }}
|
|
steps:
|
|
- name: Webhook
|
|
uses: zzzze/webhook-trigger@master
|
|
with:
|
|
data: "{\"text\":\"${{ gitea.repository }} build failed 🔎\"}"
|
|
webhook_url: ${{ secrets.BUILD_STATUS_NOTIFY_WEBHOOK_URL }}
|
|
options: "-H \"Content-Type: application/json\""
|