Compare commits
5 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
22e49eb5a1
|
|||
|
9648ff2adc
|
|||
|
9faf4de28d
|
|||
|
5634919fa6
|
|||
| 394c0610ce |
31
.gitea/workflows/hydra-callback.yml
Normal file
31
.gitea/workflows/hydra-callback.yml
Normal 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"
|
||||||
Reference in New Issue
Block a user