From 04ccd1ad7bca5323ac8c8f5150b91c4f2b995cd8 Mon Sep 17 00:00:00 2001 From: Pepijn Date: Mon, 13 Apr 2026 17:28:52 +0200 Subject: [PATCH] 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) --- .github/workflows/benchmark_tests.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/benchmark_tests.yml b/.github/workflows/benchmark_tests.yml index 4fe34a8fa..1e0d5b3d0 100644 --- a/.github/workflows/benchmark_tests.yml +++ b/.github/workflows/benchmark_tests.yml @@ -168,6 +168,7 @@ jobs: # immediately runs eval inside the training loop (eval_freq=1, 1 episode). # Tests the full train→eval-within-training pipeline end-to-end. - name: Run Libero train+eval smoke (1 step, eval_freq=1) + if: env.HF_USER_TOKEN != '' run: | docker run --name libero-train-smoke --gpus all \ --shm-size=4g \ @@ -253,6 +254,7 @@ jobs: tags: lerobot-benchmark-metaworld:ci - name: Run MetaWorld smoke eval (1 episode) + if: env.HF_USER_TOKEN != '' run: | docker run --name metaworld-eval --gpus all \ --shm-size=4g \