diff options
author | regnat <rg@regnat.ovh> | 2021-11-30 17:32:40 +0100 |
---|---|---|
committer | regnat <rg@regnat.ovh> | 2021-11-30 17:54:25 +0100 |
commit | 5f64b69d23bfee70d222671a7d10f2efe22b99c6 (patch) | |
tree | 163ec417d8d1262bce3706a8f3f870988416790b /.github | |
parent | b96164f4af4b68a91b68c59087383a4f69e7d81e (diff) |
Add a github cron to check the hydra status
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
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/hydra_status.yml | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/.github/workflows/hydra_status.yml b/.github/workflows/hydra_status.yml new file mode 100644 index 000000000..b97076bd7 --- /dev/null +++ b/.github/workflows/hydra_status.yml @@ -0,0 +1,16 @@ +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 + |