From 54ab576914ac34297df2ed4e5397948cc9caef0f Mon Sep 17 00:00:00 2001 From: Zuckerberg Date: Sun, 22 Feb 2026 15:04:23 -0800 Subject: [PATCH] Fix push auth with PAT, correct run link, and add ntfy to check-flake --- .gitea/workflows/check-flake.yaml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/.gitea/workflows/check-flake.yaml b/.gitea/workflows/check-flake.yaml index e688e95..f59e707 100644 --- a/.gitea/workflows/check-flake.yaml +++ b/.gitea/workflows/check-flake.yaml @@ -20,3 +20,14 @@ jobs: - name: Build and cache run: bash .gitea/scripts/build-and-cache.sh + + - name: Notify on failure + if: failure() + run: | + curl -s \ + -H "Authorization: Bearer ${{ secrets.NTFY_TOKEN }}" \ + -H "Title: Flake check failed" \ + -H "Priority: high" \ + -H "Tags: warning" \ + -d "Check failed for ${{ gitea.ref_name }}. Check: ${{ gitea.server_url }}/${{ gitea.repository }}/actions/runs/${{ gitea.run_number }}" \ + https://ntfy.neet.dev/nix-flake-updates