From c6fa56b043dfb3d4825ca3301278fa0c6d16d97e Mon Sep 17 00:00:00 2001 From: Will Killian Date: Fri, 29 May 2026 20:29:19 -0400 Subject: [PATCH] ci: use current docs helper for release snapshots Signed-off-by: Will Killian --- .github/workflows/fern-docs.yml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.github/workflows/fern-docs.yml b/.github/workflows/fern-docs.yml index b7c2c828..132b5851 100644 --- a/.github/workflows/fern-docs.yml +++ b/.github/workflows/fern-docs.yml @@ -398,6 +398,13 @@ jobs: fi printf 'tag=%s\n' "$tag" >> "$GITHUB_OUTPUT" + - name: Checkout workflow tools + uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6 + with: + path: workflow-checkout + fetch-depth: 1 + persist-credentials: false + - name: Checkout source branch uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6 with: @@ -473,7 +480,7 @@ jobs: working-directory: source-checkout run: | set -euo pipefail - uv run --no-sync python scripts/docs/sync_fern_docs_branch.py release-version \ + uv run --no-sync python "$GITHUB_WORKSPACE/workflow-checkout/scripts/docs/sync_fern_docs_branch.py" release-version \ --source-root "$GITHUB_WORKSPACE/source-checkout" \ --target-root "$GITHUB_WORKSPACE/docs-checkout" \ --tag "${{ steps.version.outputs.tag }}"