Skip to content

Use doc-builder@main #326

Use doc-builder@main

Use doc-builder@main #326

name: Build PR Documentation
on:
pull_request:
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
build:
uses: huggingface/doc-builder/.github/workflows/build_pr_documentation.yml@xenova-revert

Check failure on line 12 in .github/workflows/pr-documentation.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/pr-documentation.yml

Invalid workflow file

error parsing called workflow ".github/workflows/pr-documentation.yml" -> "huggingface/doc-builder/.github/workflows/build_pr_documentation.yml@xenova-revert" : failed to fetch workflow: reference to workflow should be either a valid branch, tag, or commit
with:
repo_owner: xenova
commit_sha: ${{ github.sha }}
pr_number: ${{ github.event.number }}
package: transformers.js
path_to_docs: transformers.js/docs/source
pre_command: cd transformers.js && npm install && npm run docs-api
additional_args: --not_python_module