From 9648ff2adc44d2f2fd3efa92ee182726b4b265c6 Mon Sep 17 00:00:00 2001 From: ahtlon Date: Wed, 25 Mar 2026 10:19:25 +0100 Subject: [PATCH] fix --- .gitea/workflows/hydra-callback.yml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/.gitea/workflows/hydra-callback.yml b/.gitea/workflows/hydra-callback.yml index 6b5f761..759bf5e 100644 --- a/.gitea/workflows/hydra-callback.yml +++ b/.gitea/workflows/hydra-callback.yml @@ -22,9 +22,8 @@ jobs: uses: https://github.com/cachix/install-nix-action@v31 with: github_access_token: ${{ secrets.AHTLONS_GITHUB_TOKEN }} - - name: Check for string parsing + - name: Find pr number run: | - var=$(echo "${{ github.ref }}" | cut -d / -f 3) - echo "$var" + echo "PR=$(echo "${{ github.ref }}" | cut -d / -f 3) >> $GITHUB_ENV - name: run hydra wait - run: nix run nixpkgs#hydra-cli -- -H https://hydra.dynamicdiscord.de jobset-wait malobeo2 "$var" \ No newline at end of file + run: nix run nixpkgs#hydra-cli -- -H https://hydra.dynamicdiscord.de jobset-wait malobeo2 "$PR" \ No newline at end of file