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