From f9d4e0a33e902c72ecee10e7b530e6c978c0607b Mon Sep 17 00:00:00 2001 From: teleivo Date: Mon, 9 Nov 2026 15:22:44 +0100 Subject: [PATCH] ci: pin preview runner to ubuntu-24.04 for Python 3.9 ubuntu-latest moved to Ubuntu 26.04, which has no Python 3.9, so the Set up Python step fails on every PR. --- .github/workflows/preview_pr.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/preview_pr.yml b/.github/workflows/preview_pr.yml index 3ae99335..76c635c6 100644 --- a/.github/workflows/preview_pr.yml +++ b/.github/workflows/preview_pr.yml @@ -12,7 +12,8 @@ jobs: # Set up docs preview only for PRs from the upstream repository, not from forks. DOCS_PR_PREVIEW: ${{ github.event_name == 'pull_request' && !github.event.pull_request.head.repo.fork }} - runs-on: ubuntu-latest + # Pinned as Python 3.9 is not available on Ubuntu 26.04 (ubuntu-latest). + runs-on: ubuntu-24.04 steps: - name: Checkout DHIS2 Docs Builder Repository