Added sending notification via webhook
Build & Publish to GHCR / select-runner (push) Successful in 3s
Build & Publish to GHCR / build (push) Successful in 10s
Generate openapi.json / generate-docs (push) Successful in 41s

This commit is contained in:
florian committed 2026-12-01 18:22:58 +01:00
1 parent b2a39d71cf
commit 43e9fe041f
1 file changed
+11
+11
View File
@@ -76,3 +76,14 @@ jobs:
with smtplib.SMTP("127.0.0.1", 25, timeout=30) as s: with smtplib.SMTP("127.0.0.1", 25, timeout=30) as s:
s.send_message(msg) s.send_message(msg)
EOF EOF
- name: Send notification via webhook
if: ${{ always() }}
env:
REPO: ${{ gitea.repository }}
RUN_URL: ${{ gitea.server_url }}/${{ gitea.repository }}/actions/runs/${{ gitea.run_number }}
run: |
send-notification \
--config /var/lib/gitea-runner-local/config \
--category utility \
--link "$RUN_URL" \
"Pip audit detected a problem" "$REPO"