fix(ci): add fork PR guard to train-smoke and MetaWorld eval steps

Add if: env.HF_USER_TOKEN != '' to the Libero train+eval smoke and
MetaWorld smoke eval steps so fork PRs without the secret skip gracefully.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Pepijn
2026-04-13 17:28:52 +02:00
parent 2665d4a5ac
commit 04ccd1ad7b
+2
View File
@@ -168,6 +168,7 @@ jobs:
# immediately runs eval inside the training loop (eval_freq=1, 1 episode). # immediately runs eval inside the training loop (eval_freq=1, 1 episode).
# Tests the full train→eval-within-training pipeline end-to-end. # Tests the full train→eval-within-training pipeline end-to-end.
- name: Run Libero train+eval smoke (1 step, eval_freq=1) - name: Run Libero train+eval smoke (1 step, eval_freq=1)
if: env.HF_USER_TOKEN != ''
run: | run: |
docker run --name libero-train-smoke --gpus all \ docker run --name libero-train-smoke --gpus all \
--shm-size=4g \ --shm-size=4g \
@@ -253,6 +254,7 @@ jobs:
tags: lerobot-benchmark-metaworld:ci tags: lerobot-benchmark-metaworld:ci
- name: Run MetaWorld smoke eval (1 episode) - name: Run MetaWorld smoke eval (1 episode)
if: env.HF_USER_TOKEN != ''
run: | run: |
docker run --name metaworld-eval --gpus all \ docker run --name metaworld-eval --gpus all \
--shm-size=4g \ --shm-size=4g \