Skip to content

Daily Flake Check

Daily Flake Check #238

name: Daily Flake Check
on:
schedule:
# Run daily at 6 AM UTC
- cron: '0 6 * * *'
# Allow manual trigger
workflow_dispatch:
jobs:
flake-check:
name: Daily Nix Flake Check
runs-on: ubuntu-latest
timeout-minutes: 30
steps:
- uses: actions/checkout@v4
- name: Check Nix flake inputs
uses: DeterminateSystems/flake-checker-action@v9
id: flake-check
with:
fail-mode: true
- name: Create Issue on Failure
if: failure()
uses: actions/create-issue@v1
with:
title: "[Nix Flake Check] Failed - ${{ github.run_number }}"
body: |
The daily Nix flake check has failed.
**Run:** #${{ github.run_number }}
**Date:** ${{ github.event.schedule || 'Manual trigger' }}
Please investigate and update the flake inputs.
[View workflow run](${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }})
labels: |
flake
automated
bug