Add hydra callback
All checks were successful
Check flake syntax / flake-check (push) Successful in 13m46s
Weekly Flake Update / update_and_check_flake (push) Successful in 5m47s

This commit is contained in:
2026-03-25 10:40:26 +01:00
parent bf3f4db1b2
commit b2fc2d126f

View File

@@ -0,0 +1,31 @@
name: Weekly Flake Update
on:
pull_request:
types:
- opened
permissions:
contents: write
jobs:
hydra_callback:
runs-on: ubuntu-latest
env:
NIXPKGS_ALLOW_UNFREE: 1
steps:
- name: Install sudo
run: |
apt-get update
apt-get install -y sudo
- name: Set up Nix
uses: https://github.com/cachix/install-nix-action@v31
with:
github_access_token: ${{ secrets.AHTLONS_GITHUB_TOKEN }}
- name: Find pr number
run: |
echo PR=$(echo "${{ github.ref }}" | cut -d / -f 3) >> "$GITHUB_ENV"
- name: run hydra wait
run: |
echo "Running now @ pr no $PR"
nix run nixpkgs#hydra-cli -- -H https://hydra.dynamicdiscord.de jobset-wait malobeo2 "$PR"