ci gitea actions v1
Some checks failed
CI / testsuite (mysql, 8.2, ) (push) Successful in 5m12s
CI / testsuite (pgsql, 8.2, ) (push) Successful in 5m21s
CI / testsuite (mysql, 8.4, ) (push) Failing after 8m48s
CI / testsuite (sqlite, 8.2, ) (push) Successful in 5m13s
CI / testsuite (sqlite, 8.2, prefer-lowest) (push) Successful in 4m46s
CI / testsuite (pgsql, 8.4, ) (push) Failing after 8m58s
CI / Coding Standard & Static Analysis (push) Failing after 4m3s
CI / testsuite (sqlite, 8.4, ) (push) Failing after 7m29s

This commit is contained in:
2026-03-17 02:04:36 -07:00
parent d89db5fcac
commit dcf41cb1ed
4 changed files with 308 additions and 0 deletions

View File

@@ -0,0 +1,31 @@
---
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\""