From: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> Date: Tue, 7 Jul 2026 09:30:42 +0000 (+0200) Subject: [3.13] Seed pip caches for docs on `main`/`3.x` branches (GH-153127) (#153233) X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=f7eae635c7b8480497006d9b6d3a60dd33b8b2bd;p=thirdparty%2FPython%2Fcpython.git [3.13] Seed pip caches for docs on `main`/`3.x` branches (GH-153127) (#153233) Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com> --- diff --git a/.github/workflows/reusable-docs.yml b/.github/workflows/reusable-docs.yml index bee44e8df276..3de76dd48c59 100644 --- a/.github/workflows/reusable-docs.yml +++ b/.github/workflows/reusable-docs.yml @@ -3,6 +3,17 @@ name: Reusable Docs on: workflow_call: workflow_dispatch: + # Pushes to CPython branches seed the pip caches under the exact keys every + # docs PR restores from. Without a branch-scoped copy, each PR saves a + # duplicate into its own refs/pull/N/merge scope that nothing else can read. + push: + branches: + - main + - '3.*' + paths: + - 'Doc/pylock.toml' + - 'Doc/requirements.txt' + - '.github/workflows/reusable-docs.yml' permissions: contents: read