From ffde29be4933f86bd980585b4038c90e4727863c Mon Sep 17 00:00:00 2001 From: Steven Palma Date: Tue, 24 Feb 2026 12:11:31 +0100 Subject: [PATCH] chore(ci): change hf call + secret name --- .github/workflows/fast_tests.yml | 6 +++--- .github/workflows/full_tests.yml | 12 ++++++------ 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/workflows/fast_tests.yml b/.github/workflows/fast_tests.yml index 1210a6d73..27a4043e7 100644 --- a/.github/workflows/fast_tests.yml +++ b/.github/workflows/fast_tests.yml @@ -61,7 +61,7 @@ jobs: MUJOCO_GL: egl HF_HOME: /mnt/cache/.cache/huggingface HF_LEROBOT_HOME: /mnt/cache/.cache/huggingface/lerobot - HF_TOKEN: ${{ secrets.LEROBOT_HF_USER }} + HF_USER_TOKEN: ${{ secrets.LEROBOT_HF_USER }} steps: - uses: actions/checkout@v6 with: @@ -92,8 +92,8 @@ jobs: - name: Login to Hugging Face run: | - uv run huggingface-cli login --token "$HF_TOKEN" --add-to-git-credential - uv run huggingface-cli whoami + uv run hf auth login --token "$HF_USER_TOKEN" --add-to-git-credential + uv run hf auth whoami - name: Run pytest run: uv run pytest tests -vv --maxfail=10 diff --git a/.github/workflows/full_tests.yml b/.github/workflows/full_tests.yml index 799c3f59d..eb72ca0ca 100644 --- a/.github/workflows/full_tests.yml +++ b/.github/workflows/full_tests.yml @@ -60,7 +60,7 @@ jobs: MUJOCO_GL: egl HF_HOME: /mnt/cache/.cache/huggingface HF_LEROBOT_HOME: /mnt/cache/.cache/huggingface/lerobot - HF_TOKEN: ${{ secrets.LEROBOT_HF_USER }} + HF_USER_TOKEN: ${{ secrets.LEROBOT_HF_USER }} steps: - uses: actions/checkout@v6 with: @@ -90,8 +90,8 @@ jobs: - name: Login to Hugging Face run: | - uv run huggingface-cli login --token "$HF_TOKEN" --add-to-git-credential - uv run huggingface-cli whoami + uv run hf auth login --token "$HF_USER_TOKEN" --add-to-git-credential + uv run hf auth whoami - name: Run pytest (all extras) run: uv run pytest tests -vv --maxfail=10 @@ -168,7 +168,7 @@ jobs: HF_LEROBOT_HOME: /home/user_lerobot/.cache/huggingface/lerobot TORCH_HOME: /home/user_lerobot/.cache/torch TRITON_CACHE_DIR: /home/user_lerobot/.cache/triton - HF_TOKEN: ${{ secrets.LEROBOT_HF_USER }} + HF_USER_TOKEN: ${{ secrets.LEROBOT_HF_USER }} container: image: ${{ needs.build-and-push-docker.outputs.image_tag }} # zizmor: ignore[unpinned-images] options: --gpus all --shm-size "16gb" @@ -182,8 +182,8 @@ jobs: steps: - name: Login to Hugging Face run: | - huggingface-cli login --token "$HF_TOKEN" --add-to-git-credential - huggingface-cli whoami + hf auth login --token "$HF_USER_TOKEN" --add-to-git-credential + hf auth whoami - name: Run pytest on GPU run: pytest tests -vv --maxfail=10 - name: Run end-to-end tests