Skip to content
Merged
Show file tree
Hide file tree
Changes from 6 commits
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
2 changes: 1 addition & 1 deletion .github/workflows/build_documentation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ on:

jobs:
build:
uses: huggingface/doc-builder/.github/workflows/build_main_documentation.yml@7ccf6c02dc2e3aea1b07f6668f783b20c3bf407c # main
uses: huggingface/doc-builder/.github/workflows/build_main_documentation.yml@9978a4134f9e245a927f8d85f73c026609b38b47 # main

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

build_main pin 7ccf6c02… → 9978a4134… (doc-builder main, ahead 15 / behind 0). The reusable workflow's only interface change across this delta is an added optional python_version input (no required: / default:, doc-builder #808) + a uv venv line that's byte-identical when unset — backward-compatible. This caller passes commit_sha + package: openenv + version_tag_suffix: "" + secret hf_token, and doesn't pass python_version, so behavior is unchanged (runner's system Python). ✓

with:
commit_sha: ${{ github.sha }}
package: openenv
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build_pr_documentation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ concurrency:
jobs:
build:
if: github.event.pull_request.draft == false
uses: huggingface/doc-builder/.github/workflows/build_pr_documentation.yml@7ccf6c02dc2e3aea1b07f6668f783b20c3bf407c # main
uses: huggingface/doc-builder/.github/workflows/build_pr_documentation.yml@9978a4134f9e245a927f8d85f73c026609b38b47 # main

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

build_pr pin 7ccf6c02… → 9978a4134…. Same backward-compatible change as build_main (added optional python_version; uv venv byte-identical when unset). Required commit_sha / pr_number / package still supplied by this caller; the doc-build-artifact upload step (doc-builder line 232) is untouched, so the handoff to upload_pr_documentation.yml stays intact. ✓

with:
commit_sha: ${{ github.event.pull_request.head.sha }}
pr_number: ${{ github.event.number }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/upload_pr_documentation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:

jobs:
build:
uses: huggingface/doc-builder/.github/workflows/upload_pr_documentation.yml@7ccf6c02dc2e3aea1b07f6668f783b20c3bf407c # main
uses: huggingface/doc-builder/.github/workflows/upload_pr_documentation.yml@9978a4134f9e245a927f8d85f73c026609b38b47 # main

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

upload pin 7ccf6c02… → 9978a4134…. This reusable workflow is byte-identical across the delta (not in the doc-builder compare file list) → workflow_call inputs/secrets trivially unchanged. Caller supplies required package_name: openenv + secret hf_token (+ optional comment_bot_app_id / comment_bot_secret_pem) and downloads doc-build-artifact — no break. ✓

with:
package_name: openenv
secrets:
Expand Down
Loading