From e2c454af9ecbfbcdbc00c8c819549bfc67a70372 Mon Sep 17 00:00:00 2001 From: Cursor Agent Date: Thu, 15 Oct 2026 17:35:10 +0000 Subject: [PATCH] ci(current-site): full-history build checkout so reader-link identity tests run Co-authored-by: Dylan Roy --- .github/workflows/current-site.yml | 1 + tests/test_current_site_publication.py | 2 ++ 2 files changed, 3 insertions(+) diff --git a/.github/workflows/current-site.yml b/.github/workflows/current-site.yml index 01b94fdd4..a9a5b19a2 100644 --- a/.github/workflows/current-site.yml +++ b/.github/workflows/current-site.yml @@ -55,6 +55,7 @@ jobs: with: ref: ${{ github.sha }} persist-credentials: false + fetch-depth: 0 - name: Restore and admit all previously published public history env: GITHUB_TOKEN: ${{ github.token }} diff --git a/tests/test_current_site_publication.py b/tests/test_current_site_publication.py index 58922ca30..a94f7bd8b 100644 --- a/tests/test_current_site_publication.py +++ b/tests/test_current_site_publication.py @@ -276,6 +276,8 @@ def test_workflow_has_pr_specific_concurrency_and_separate_metadata_handoff(self self.assertNotIn("pip install", deploy) self.assertLess(deploy.index(" prepare "), deploy.index("actions/deploy-pages@")) self.assertGreater(deploy.index(" observe "), deploy.index("actions/deploy-pages@")) + build_checkout = raw.split(" build:\n", 1)[1].split(" deploy:\n", 1)[0].split(" - name:", 1)[0] + self.assertIn("fetch-depth: 0", build_checkout) def test_http_clients_bound_responses_and_keep_credentials_in_fixed_api_headers(self): class Response(io.BytesIO):