From 0b718aeca41cafe62625824f73bf3d476d663cd4 Mon Sep 17 00:00:00 2001 From: Hannes Stiebitzhofer Date: Thu, 8 Oct 2026 18:16:43 +0200 Subject: [PATCH 1/2] ci: pin runs-on to ubuntu-24.04 GitHub moves the ubuntu-latest label to the Ubuntu 26 image between 2026-10-19 and 2026-11-19; pin the current image so tooling changes are adopted deliberately rather than mid-rollout. Co-Authored-By: Claude Opus 5.5 --- .github/workflows/ci.yaml | 6 +++--- .github/workflows/codeql.yml | 2 +- .github/workflows/sbom-generation.yml | 2 +- .github/workflows/schema-cdn.yml | 2 +- .github/workflows/security-scan.yml | 2 +- 5 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 745c84f2..9883de1c 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -25,7 +25,7 @@ on: jobs: setup-and-test: - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 if: ${{ github.event_name == 'push' || !github.event.pull_request.draft }} steps: @@ -50,7 +50,7 @@ jobs: run: mvn --batch-mode --update-snapshots verify setup-and-test-node: - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 steps: - uses: actions/checkout@v4 @@ -70,7 +70,7 @@ jobs: run: npm test -- --testPathIgnorePatterns="json2pdf.spec.js" test-json2pdf: - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 if: ${{ github.event_name == 'push' || !github.event.pull_request.draft }} # Tests the standalone json2pdf command-line tool with Maven dependencies diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index 969a309e..d6bc5475 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -11,7 +11,7 @@ on: jobs: analyze: name: Analyze (${{ matrix.language }}) - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 permissions: security-events: write contents: read diff --git a/.github/workflows/sbom-generation.yml b/.github/workflows/sbom-generation.yml index e6f0aff5..c3242372 100644 --- a/.github/workflows/sbom-generation.yml +++ b/.github/workflows/sbom-generation.yml @@ -20,7 +20,7 @@ on: jobs: generate-sbom: - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 if: ${{ github.event_name == 'release' || github.event_name == 'workflow_dispatch' || !github.event.pull_request.draft }} steps: diff --git a/.github/workflows/schema-cdn.yml b/.github/workflows/schema-cdn.yml index 6708ebde..e50925e3 100644 --- a/.github/workflows/schema-cdn.yml +++ b/.github/workflows/schema-cdn.yml @@ -11,7 +11,7 @@ on: jobs: deploy: name: Deploy to S3 - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 permissions: id-token: write diff --git a/.github/workflows/security-scan.yml b/.github/workflows/security-scan.yml index a200cc07..227dd1e1 100644 --- a/.github/workflows/security-scan.yml +++ b/.github/workflows/security-scan.yml @@ -25,7 +25,7 @@ on: jobs: vulnerability-scan: - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 if: ${{ github.event_name == 'push' || github.event_name == 'schedule' || github.event_name == 'workflow_dispatch' || !github.event.pull_request.draft }} steps: From c20b6ea60b8daa23304f9bee577d45bfcf97fd26 Mon Sep 17 00:00:00 2001 From: Hannes Stiebitzhofer Date: Thu, 8 Oct 2026 18:24:21 +0200 Subject: [PATCH 2/2] ci: run every job on ubuntu-26.04 Pin the newest LTS image explicitly: the ubuntu-latest migration (2026-10-19 to 11-19) becomes irrelevant and the pin holds for the image's support window. Co-Authored-By: Claude Opus 5.5 --- .github/workflows/ci.yaml | 6 +++--- .github/workflows/codeql.yml | 2 +- .github/workflows/sbom-generation.yml | 2 +- .github/workflows/schema-cdn.yml | 2 +- .github/workflows/security-scan.yml | 2 +- 5 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 9883de1c..55b7eb64 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -25,7 +25,7 @@ on: jobs: setup-and-test: - runs-on: ubuntu-24.04 + runs-on: ubuntu-26.04 if: ${{ github.event_name == 'push' || !github.event.pull_request.draft }} steps: @@ -50,7 +50,7 @@ jobs: run: mvn --batch-mode --update-snapshots verify setup-and-test-node: - runs-on: ubuntu-24.04 + runs-on: ubuntu-26.04 steps: - uses: actions/checkout@v4 @@ -70,7 +70,7 @@ jobs: run: npm test -- --testPathIgnorePatterns="json2pdf.spec.js" test-json2pdf: - runs-on: ubuntu-24.04 + runs-on: ubuntu-26.04 if: ${{ github.event_name == 'push' || !github.event.pull_request.draft }} # Tests the standalone json2pdf command-line tool with Maven dependencies diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index d6bc5475..5c70ee51 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -11,7 +11,7 @@ on: jobs: analyze: name: Analyze (${{ matrix.language }}) - runs-on: ubuntu-24.04 + runs-on: ubuntu-26.04 permissions: security-events: write contents: read diff --git a/.github/workflows/sbom-generation.yml b/.github/workflows/sbom-generation.yml index c3242372..fc765fce 100644 --- a/.github/workflows/sbom-generation.yml +++ b/.github/workflows/sbom-generation.yml @@ -20,7 +20,7 @@ on: jobs: generate-sbom: - runs-on: ubuntu-24.04 + runs-on: ubuntu-26.04 if: ${{ github.event_name == 'release' || github.event_name == 'workflow_dispatch' || !github.event.pull_request.draft }} steps: diff --git a/.github/workflows/schema-cdn.yml b/.github/workflows/schema-cdn.yml index e50925e3..ca79d28b 100644 --- a/.github/workflows/schema-cdn.yml +++ b/.github/workflows/schema-cdn.yml @@ -11,7 +11,7 @@ on: jobs: deploy: name: Deploy to S3 - runs-on: ubuntu-24.04 + runs-on: ubuntu-26.04 permissions: id-token: write diff --git a/.github/workflows/security-scan.yml b/.github/workflows/security-scan.yml index 227dd1e1..bf8e4425 100644 --- a/.github/workflows/security-scan.yml +++ b/.github/workflows/security-scan.yml @@ -25,7 +25,7 @@ on: jobs: vulnerability-scan: - runs-on: ubuntu-24.04 + runs-on: ubuntu-26.04 if: ${{ github.event_name == 'push' || github.event_name == 'schedule' || github.event_name == 'workflow_dispatch' || !github.event.pull_request.draft }} steps: