From d20ffc8c12c06463d39c9927f5b621e0d35bd3dc Mon Sep 17 00:00:00 2001 From: inoway46 Date: Wed, 30 Sep 2026 18:06:24 +0900 Subject: [PATCH] tools: use ubuntu-latest for public lint-js-and-md jobs Use ubuntu-latest in public repositories to reduce runtime and provide more headroom when the ESLint cache cannot be restored. Keep ubuntu-slim in private repositories to avoid increasing runner costs. Assisted-by: Codex Signed-off-by: inoway46 --- .github/workflows/linters.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/linters.yml b/.github/workflows/linters.yml index f6945f9df517..599f4be53927 100644 --- a/.github/workflows/linters.yml +++ b/.github/workflows/linters.yml @@ -98,7 +98,7 @@ jobs: fi lint-js-and-md: if: github.event.pull_request.draft == false - runs-on: ubuntu-slim + runs-on: ${{ github.event.repository.private && 'ubuntu-slim' || 'ubuntu-latest' }} steps: - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 with: