chore(ci): skip workflows if not lerobot repository (#2601)

Co-authored-by: Alex Tyshka <atyshka15@gmail.com>
This commit is contained in:
Steven Palma
2025-12-08 12:44:36 +01:00
committed by GitHub
parent 0217e1e3ad
commit f9cb5e659c
7 changed files with 11 additions and 4 deletions
@@ -31,7 +31,8 @@ jobs:
name: Upload Preview and Comment
if: >
github.event.workflow_run.event == 'pull_request' &&
github.event.workflow_run.conclusion == 'success'
github.event.workflow_run.conclusion == 'success' &&
github.repository == 'huggingface/lerobot'
uses: huggingface/doc-builder/.github/workflows/upload_pr_documentation.yml@main
with:
package_name: lerobot