mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-10 08:16:15 +02:00
5f64b69d23
Add a regular github action that will check the status of the latest hydra evaluation. Things aren’t ideal right now because this job will only notify “the user who last modified the cron syntax in the workflow file” (so myself atm). But at least that’ll give a notification for failing hydra jobs
16 lines
340 B
YAML
16 lines
340 B
YAML
name: Hydra status
|
|
on:
|
|
schedule:
|
|
- cron: "12,42 * * * *"
|
|
workflow_dispatch:
|
|
jobs:
|
|
check_hydra_status:
|
|
name: Check Hydra status
|
|
if: github.repository_owner == 'NixOS'
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v2.4.0
|
|
with:
|
|
fetch-depth: 0
|
|
- run: bash scripts/check-hydra-status.sh
|
|
|