Files
bs 5c9900d594
CI / testsuite (mysql, 8.5, ) (push) Successful in 2m52s
CI / testsuite (mysql, 8.2, ) (push) Successful in 4m14s
CI / testsuite (pgsql, 8.2, ) (push) Successful in 5m25s
CI / testsuite (pgsql, 8.5, ) (push) Successful in 3m14s
CI / testsuite (sqlite, 8.2, ) (push) Successful in 4m13s
CI / testsuite (sqlite, 8.5, ) (push) Successful in 2m51s
CI / testsuite (sqlite, 8.2, prefer-lowest) (push) Failing after 4m24s
CI / Coding Standard & Static Analysis (push) Successful in 2m51s
workflows gitea
2026-08-26 01:16:13 -07:00

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\""