From 2497d91cf7ff135d2a8de097aa9f07101469843c Mon Sep 17 00:00:00 2001 From: Noel Sabia Date: Fri, 30 Oct 2026 20:33:09 +0100 Subject: [PATCH 1/3] ci(renovate): enable Renovate on Gitea with automerge Gitea has no hosted Renovate, so the repository runs the official image from a scheduled Gitea Actions workflow. The platform settings stay in the workflow environment because Renovate accepts them only in the self-hosted config, not in renovate.json. renovate.json keeps the repository config minimal: schema plus automerge=true, which also covers major updates. The bot account and the RENOVATE_TOKEN secret are the remaining manual steps. --- .gitea/workflows/renovate.yml | 41 +++++++++++++++++++++++++++++++++++ renovate.json | 4 ++++ 2 files changed, 45 insertions(+) create mode 100644 .gitea/workflows/renovate.yml create mode 100644 renovate.json diff --git a/.gitea/workflows/renovate.yml b/.gitea/workflows/renovate.yml new file mode 100644 index 0000000..aab1f3a --- /dev/null +++ b/.gitea/workflows/renovate.yml @@ -0,0 +1,41 @@ +name: Renovate + +# Renovate is not hosted for Gitea, so this repository runs it itself. +# The bot opens dependency PRs through the API; the PR pipeline checks them +# (a branch protection rule should require those checks before automerge). +# +# Manual setup: create a bot account with its full name and email set, give +# it write access to this repository, and store a token with +# repository read/write, issue read/write, user read and organization read +# as the RENOVATE_TOKEN Actions secret. +on: + schedule: + # Daily at 04:00 UTC. Gitea only schedules workflows that exist on the + # default branch. + - cron: "0 4 * * *" + workflow_dispatch: + +concurrency: + group: renovate + cancel-in-progress: false + +jobs: + renovate: + name: Run Renovate + runs-on: ubuntu-latest + timeout-minutes: 30 + # Pinned and multi-arch (the runner is arm64). The image installs the + # Node-based toolchain it needs on demand. + container: renovate/renovate:44.198.2 + steps: + - name: Run Renovate + env: + RENOVATE_PLATFORM: gitea + # API root, not the web root. Renovate reads renovate.json from the + # default branch through this endpoint. + RENOVATE_ENDPOINT: https://git.noelsabia.dev/api/v1 + RENOVATE_TOKEN: ${{ secrets.RENOVATE_TOKEN }} + # This workflow lives in the repository it updates, so scope the bot + # to it instead of every repository its account can see. + RENOVATE_REPOSITORIES: CV_Website/CV_Site_Nuxt + run: renovate diff --git a/renovate.json b/renovate.json new file mode 100644 index 0000000..d64cd8b --- /dev/null +++ b/renovate.json @@ -0,0 +1,4 @@ +{ + "$schema": "https://docs.renovatebot.com/renovate-schema.json", + "automerge": true +} From c332c195a93f701969498cd5911906d9fa2b0468 Mon Sep 17 00:00:00 2001 From: Noel Date: Fri, 30 Oct 2026 20:01:48 +0000 Subject: [PATCH 2/3] chore(deps): update node:26-slim docker digest to 18f03e4 --- Dockerfile | 4 ++-- Dockerfile.dev | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 89a1b99..aba0c9e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -16,7 +16,7 @@ # runner's arm64 and this workstation's x86_64. # syntax: no BuildKit-only features used, so the default frontend suffices. -FROM node:26-slim@sha256:d62f13676d530f7edf97782729df69713c8ccfe6631e7f62f9ccab65968719a8 AS build +FROM node:26-slim@sha256:18f03e4b532a63baf09809fe8349c2171807f1818cb6c5230fb12aecd5beda65 AS build # pnpm pinned to the same version as CI (pr-checker.yml pins major 11) and # the local toolchain (11.26.0). Installed via npm from the node image - no @@ -38,7 +38,7 @@ COPY . . RUN pnpm build -FROM node:26-slim@sha256:d62f13676d530f7edf97782729df69713c8ccfe6631e7f62f9ccab65968719a8 +FROM node:26-slim@sha256:18f03e4b532a63baf09809fe8349c2171807f1818cb6c5230fb12aecd5beda65 # pnpm is NOT installed in the runtime image: nothing here runs pnpm. ENV NODE_ENV=production \ diff --git a/Dockerfile.dev b/Dockerfile.dev index 1556300..c548d1a 100644 --- a/Dockerfile.dev +++ b/Dockerfile.dev @@ -1,4 +1,4 @@ -FROM node:26-slim@sha256:d62f13676d530f7edf97782729df69713c8ccfe6631e7f62f9ccab65968719a8 +FROM node:26-slim@sha256:18f03e4b532a63baf09809fe8349c2171807f1818cb6c5230fb12aecd5beda65 # Node no longer bundles pnpm (corepack and pnpm are both absent from this # image), so install it. First instruction, so later changes reuse the layer. From a8355d976b94e101f40b597539bb6bd7138a7b34 Mon Sep 17 00:00:00 2001 From: Noel Date: Fri, 30 Oct 2026 20:01:53 +0000 Subject: [PATCH 3/3] chore(deps): update dependency @nuxt/icon to v2.6.2 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 2fe8bce..56169f2 100644 --- a/package.json +++ b/package.json @@ -20,7 +20,7 @@ }, "dependencies": { "@iconify-json/material-symbols": "^1.2.95", - "@nuxt/icon": "2.6.0", + "@nuxt/icon": "2.6.2", "@nuxtjs/i18n": "10.6.0", "@nuxtjs/seo": "6.0.1", "@nuxtjs/tailwindcss": "6.14.0",