All checks were successful
CI / testsuite (mysql, 8.4, ) (push) Successful in 7m0s
CI / testsuite (pgsql, 8.2, ) (push) Successful in 4m9s
CI / testsuite (mysql, 8.2, ) (push) Successful in 13m47s
CI / testsuite (pgsql, 8.4, ) (push) Successful in 8m14s
CI / testsuite (sqlite, 8.2, prefer-lowest) (push) Successful in 4m1s
CI / testsuite (sqlite, 8.2, ) (push) Successful in 13m20s
CI / testsuite (sqlite, 8.4, ) (push) Successful in 8m22s
CI / Coding Standard & Static Analysis (push) Successful in 12m49s
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\""
|