From b0b84d324106da31233bf061f3d5b7f2b0535f4f Mon Sep 17 00:00:00 2001 From: Musiker15 Date: Fri, 30 Oct 2026 18:56:29 +0100 Subject: [PATCH 1/3] Serve the logo through next/image The header and footer showed the full 678 px, 176 KB logo.png at 32 to 36 px. next/image sends a scaled WebP instead, which also clears the no-img-element warning from the code scan. --- src/components/site/HeaderBar.tsx | 3 ++- src/components/site/SiteFooter.tsx | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/components/site/HeaderBar.tsx b/src/components/site/HeaderBar.tsx index 41a608a..62d0b3e 100644 --- a/src/components/site/HeaderBar.tsx +++ b/src/components/site/HeaderBar.tsx @@ -1,5 +1,6 @@ 'use client' +import Image from 'next/image' import Link from 'next/link' import { usePathname } from 'next/navigation' import { useRef, useState } from 'react' @@ -194,7 +195,7 @@ export function HeaderBar({
- + {/* Below 360 px the name gives way to the buttons; it stays the link's name for a screen reader. */} diff --git a/src/components/site/SiteFooter.tsx b/src/components/site/SiteFooter.tsx index d6f7682..a9c20a7 100644 --- a/src/components/site/SiteFooter.tsx +++ b/src/components/site/SiteFooter.tsx @@ -1,3 +1,4 @@ +import Image from 'next/image' import Link from 'next/link' import { getLocale, getTranslations } from 'next-intl/server' @@ -64,7 +65,7 @@ export async function SiteFooter() {
- + {TOOL.name}

{t('footerTagline')}

From 5cf1b8adbcad3edfc48e8a6237b8e8d7f36f8271 Mon Sep 17 00:00:00 2001 From: Musiker15 Date: Fri, 30 Oct 2026 18:59:54 +0100 Subject: [PATCH 2/3] Check licenses against an allow list, actions on their latest versions The dependency review action deprecated deny-licenses (actions/dependency-review-action#997). A deny list of GPL-2.0 and GPL-3.0 also let AGPL and every other license through. The allow list holds what the lockfile has today plus AGPL-3.0-or-later, the project's own license. checkout and setup-node move to v7; neither change touches these workflows (no pull_request_target, no registry-url). --- .github/workflows/build.yml | 4 ++-- .github/workflows/codeql.yml | 2 +- .github/workflows/dependency-review.yml | 10 ++++++++-- .github/workflows/deploy.yml | 4 ++-- .github/workflows/eslint.yml | 4 ++-- .github/workflows/release.yml | 2 +- .github/workflows/secret-scanning.yml | 2 +- 7 files changed, 17 insertions(+), 11 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 5b8cbab..4727ce2 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -33,10 +33,10 @@ jobs: steps: - name: Checkout repository - uses: actions/checkout@v6 + uses: actions/checkout@v7 - name: Setup Node.js - uses: actions/setup-node@v6 + uses: actions/setup-node@v7 with: node-version: '24' cache: npm diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index a4e7a5c..9e2f999 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -29,7 +29,7 @@ jobs: steps: - name: Checkout repository - uses: actions/checkout@v4 + uses: actions/checkout@v7 - name: Initialize CodeQL uses: github/codeql-action/init@v4 diff --git a/.github/workflows/dependency-review.yml b/.github/workflows/dependency-review.yml index 4ae902c..7ca813e 100644 --- a/.github/workflows/dependency-review.yml +++ b/.github/workflows/dependency-review.yml @@ -19,11 +19,17 @@ jobs: steps: - name: Checkout repository - uses: actions/checkout@v6 + uses: actions/checkout@v7 - name: Dependency Review uses: actions/dependency-review-action@v5 with: fail-on-severity: moderate comment-summary-in-pr: always - deny-licenses: GPL-2.0, GPL-3.0 + # Only licenses this AGPL-3.0 project can take in. A package outside + # the list fails the review; a reviewed exception goes into + # allow-dependencies-licenses as its purl. + allow-licenses: >- + MIT, ISC, 0BSD, BSD-2-Clause, BSD-3-Clause, Apache-2.0, + BlueOak-1.0.0, CC0-1.0, CC-BY-4.0, OFL-1.1, MPL-2.0, + LGPL-3.0-or-later, AGPL-3.0-or-later diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index f63fe4c..1355548 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -16,13 +16,13 @@ jobs: steps: # ── 1. Checkout ────────────────────────────────────────── - name: ⬇️ Checkout repository - uses: actions/checkout@v6 + uses: actions/checkout@v7 with: fetch-depth: 1 # ── 2. Node.js ─────────────────────────────────────────── - name: ⚙️ Setup Node.js - uses: actions/setup-node@v6 + uses: actions/setup-node@v7 with: node-version: '24' cache: npm diff --git a/.github/workflows/eslint.yml b/.github/workflows/eslint.yml index 8bbef2a..083132d 100644 --- a/.github/workflows/eslint.yml +++ b/.github/workflows/eslint.yml @@ -18,10 +18,10 @@ jobs: actions: read steps: - name: Checkout code - uses: actions/checkout@v6 + uses: actions/checkout@v7 - name: Set up Node.js - uses: actions/setup-node@v6 + uses: actions/setup-node@v7 with: node-version: '24' cache: 'npm' diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 7fde154..2c02b9d 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -52,7 +52,7 @@ jobs: # Checkout des Tags (falls vorhanden) bzw. des angegebenen Branches (für neue Tags). # fetch-depth: 0 holt komplette History + alle Tags. - name: Checkout - uses: actions/checkout@v6 + uses: actions/checkout@v7 with: ref: ${{ inputs.ref || github.ref }} fetch-depth: 0 diff --git a/.github/workflows/secret-scanning.yml b/.github/workflows/secret-scanning.yml index 8945dbf..c107f1f 100644 --- a/.github/workflows/secret-scanning.yml +++ b/.github/workflows/secret-scanning.yml @@ -22,7 +22,7 @@ jobs: steps: - name: ⬇️ Checkout repository - uses: actions/checkout@v6 + uses: actions/checkout@v7 with: fetch-depth: 0 From 35c43b2d3b1a58583f23efa02877417b735e8cb1 Mon Sep 17 00:00:00 2001 From: Musiker15 Date: Fri, 30 Oct 2026 19:01:30 +0100 Subject: [PATCH 3/3] Mirror to Codeberg only on pushes to main and tags The delete trigger started a run for every branch a merged pull request or Dependabot removed. The next push to main prunes such a branch on Codeberg anyway. --- .github/workflows/mirror.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/mirror.yml b/.github/workflows/mirror.yml index 864bd8f..63349c5 100644 --- a/.github/workflows/mirror.yml +++ b/.github/workflows/mirror.yml @@ -14,11 +14,13 @@ name: Mirror to Codeberg +# Only main and tags start a run. No delete trigger: every merged pull request +# deletes its branch and would start a run of its own; the next push to main +# prunes the branch on Codeberg anyway. on: push: branches: ["main"] tags: ["**"] - delete: workflow_dispatch: permissions: