Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
🔒 pin build_main_documentation.yml actions to commit SHAs
  • Loading branch information
paulinebm committed Apr 2, 2026
commit b0216d8ed4fdd40c6c223b80fd9c6f808d896727
10 changes: 5 additions & 5 deletions .github/workflows/build_main_documentation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,24 +67,24 @@ jobs:
UV_HTTP_TIMEOUT: 900 # max 15min to install deps (shouldn't take more than 5min)

steps:
- uses: actions/checkout@v4
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
repository: 'huggingface/doc-builder'
path: doc-builder

- uses: actions/checkout@v4
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
repository: '${{ inputs.repo_owner }}/${{ inputs.package }}'
path: ${{ inputs.package }}

- uses: actions/checkout@v4
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
if: inputs.notebook_folder != ''
with:
repository: 'huggingface/notebooks'
path: notebooks
token: ${{ secrets.token }}

- uses: actions/setup-node@v4
- uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4
with:
node-version: '20'
cache-dependency-path: "kit/package-lock.json"
Expand Down Expand Up @@ -140,7 +140,7 @@ jobs:
run: $ROOT_APT_GET install -y libgl1

- name: Install Rust
uses: actions-rs/toolchain@v1
uses: actions-rs/toolchain@16499b5e05bf2e26879000db0c1d13f7e13fa3af # v1
if: inputs.install_rust
with:
toolchain: stable
Expand Down