14 Commits

Author SHA1 Message Date
lyrathorpe 7e23b09694 Merge pull request 'fix(deps): update docker/login-action action to v4' (#11) from renovate/docker-login-action-4.x into main
Build and publish container / build (push) Failing after 8m16s
Reviewed-on: #11
2026-06-12 12:21:38 +01:00
lyrathorpe 818331b066 Merge pull request 'fix(deps): update docker/build-push-action action to v7' (#10) from renovate/docker-build-push-action-7.x into main
Build and publish container / build (push) Failing after 34s
Reviewed-on: #10
2026-06-12 12:21:38 +01:00
lyrathorpe dfedc5c51b Merge pull request 'fix(deps): update actions/checkout action to v6' (#9) from renovate/actions-checkout-6.x into main
Build and publish container / build (push) Successful in 8m35s
Reviewed-on: #9
2026-06-12 12:18:49 +01:00
Renovate Bot b26d49d9d8 fix(deps): update docker/login-action action to v4
Build and publish container / build (pull_request) Successful in 7m27s
2026-06-12 11:10:57 +00:00
Renovate Bot 9e5958b458 fix(deps): update docker/build-push-action action to v7
Build and publish container / build (pull_request) Successful in 7m28s
2026-06-12 11:10:53 +00:00
Renovate Bot df0df3e9a0 fix(deps): update actions/checkout action to v6
Build and publish container / build (pull_request) Successful in 7m20s
2026-06-12 11:10:48 +00:00
lyrathorpe 8bb782287e Merge pull request 'fix(deps): pin dependencies' (#7) from renovate/pin-dependencies into main
Build and publish container / build (push) Successful in 9m52s
Reviewed-on: #7
2026-06-12 12:08:23 +01:00
Renovate Bot 56ec85c17e fix(deps): pin dependencies
Build and publish container / build (pull_request) Successful in 7m56s
2026-06-12 10:58:16 +00:00
lyrathorpe 9412c20248 Merge pull request 'Fix/renovate semantic fix' (#14) from fix/renovate-semantic-fix into main
Build and publish container / build (push) Has been cancelled
Reviewed-on: #14
2026-06-12 11:49:53 +01:00
lyrathorpe 65f97d2707 Merge pull request 'feat: present theme switch as a segmented control' (#15) from feat/segmented-theme-switch into main
Build and publish container / build (push) Successful in 6m7s
Reviewed-on: #15
2026-06-12 11:45:08 +01:00
Emma Thorpe 564070b270 ci: auto-merge patch and minor renovate updates
Build and publish container / build (pull_request) Successful in 4m55s
Add a packageRule that automerges patch and minor updates, with
platformAutomerge enabled so Gitea merges them once required checks pass.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-12 11:39:02 +01:00
Emma Thorpe ad90451846 feat: present theme switch as a segmented control
Build and publish container / build (pull_request) Successful in 4m49s
Join the two theme options into a single rounded container with the active
segment filled and a divider between them, replacing the two separate pills.
Markup and aria-pressed behaviour are unchanged.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-12 11:34:32 +01:00
Emma Thorpe 22c2ef1b26 fix: force fix(deps) commit type so renovate PRs trigger releases
Build and publish container / build (pull_request) Successful in 6m16s
config:recommended pulls in :semanticPrefixFixDepsChoreOthers, whose catch-all
packageRule forces non-npm updates (Docker base image, Gitea Actions) to the
chore type, overriding the top-level semanticCommitType. chore produces no
release, so Renovate updates were never auto-tagged.

Append a packageRule matching all packages that sets semanticCommitType to fix,
so every merged Renovate PR registers as a patch and is released and tagged.
Also migrate the deprecated fileMatch keys to managerFilePatterns.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-12 11:31:07 +01:00
Emma Thorpe 301120c174 fix: recolour original theme to a red field with white text
Switch the original theme to a red background with white message text, with
navy buttons, evoking the red B07/B99 stock. Red/white/blue are all retained.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-12 11:24:30 +01:00
3 changed files with 38 additions and 21 deletions
+5 -5
View File
@@ -18,7 +18,7 @@ jobs:
packages: write
steps:
- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6
with:
# Full history and tags are required to derive the next version
# from the conventional-commit messages since the last release.
@@ -94,21 +94,21 @@ jobs:
echo "Computed bump=${bump}, release=${release}, base=${base}"
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
uses: docker/setup-qemu-action@c7c53464625b32c7a7e944ae62b3e17d2b600130 # v3
- name: Set up Buildx
uses: docker/setup-buildx-action@v3
uses: docker/setup-buildx-action@8d2750c68a42422c14e847fe6c8ac0403b4cbd6f # v3
- name: Log in to the Gitea container registry
if: github.event_name != 'pull_request'
uses: docker/login-action@v3
uses: docker/login-action@650006c6eb7dba73a995cc03b0b2d7f5ca915bee # v4
with:
registry: ${{ env.REGISTRY }}
username: ${{ github.repository_owner }}
password: ${{ secrets.PACKAGES_TOKEN }}
- name: Build and push
uses: docker/build-push-action@v6
uses: docker/build-push-action@f9f3042f7e2789586610d6e8b85c8f03e5195baf # v7
with:
context: .
platforms: linux/amd64,linux/arm64
+14 -3
View File
@@ -10,20 +10,31 @@
"semanticCommitType": "fix",
"semanticCommitScope": "deps",
"github-actions": {
"fileMatch": ["^\\.gitea/workflows/[^/]+\\.ya?ml$"]
"managerFilePatterns": ["/^\\.gitea/workflows/[^/]+\\.ya?ml$/"]
},
"packageRules": [
{
"description": "Group nginx base image updates",
"matchManagers": ["dockerfile"],
"groupName": "docker base image"
},
{
"description": "Commit every update as fix(deps) so each merged Renovate PR triggers a patch release. config:recommended pulls in :semanticPrefixFixDepsChoreOthers, which forces non-npm updates (Docker, Actions) to chore and would otherwise produce no release.",
"matchPackageNames": ["*"],
"semanticCommitType": "fix"
},
{
"description": "Auto-merge patch and minor updates once checks pass.",
"matchUpdateTypes": ["patch", "minor"],
"automerge": true
}
],
"platformAutomerge": true,
"customManagers": [
{
"customType": "regex",
"description": "Update HTML dependencies annotated with a renovate comment, e.g. <!-- renovate: datasource=npm depName=bootstrap --> before the versioned URL",
"fileMatch": ["\\.html$"],
"managerFilePatterns": ["/\\.html$/"],
"matchStrings": [
"datasource=(?<datasource>\\S+) depName=(?<depName>\\S+)( versioning=(?<versioning>\\S+))?[\\s\\S]*?(?<currentValue>v?\\d+\\.\\d+\\.\\d+[\\w.-]*)"
]
@@ -31,7 +42,7 @@
{
"customType": "regex",
"description": "Auto-detect versioned jsDelivr / unpkg npm assets in HTML",
"fileMatch": ["\\.html$"],
"managerFilePatterns": ["/\\.html$/"],
"matchStrings": [
"https://cdn\\.jsdelivr\\.net/npm/(?<depName>@?[^@/]+(?:/[^@/]+)?)@(?<currentValue>\\d[^/\"']+)",
"https://unpkg\\.com/(?<depName>@?[^@/]+(?:/[^@/]+)?)@(?<currentValue>\\d[^/\"']+)"
+19 -13
View File
@@ -21,14 +21,14 @@
/* Original DLR — 1987 red, white and blue */
[data-theme="original"] {
--bg: #f5f0e1;
--bg: #c8102e;
--surface: #002b5c;
--text: #002b5c;
--message: #002b5c;
--button-bg: #c8102e;
--text: #f5f0e1;
--message: #f5f0e1;
--button-bg: #002b5c;
--button-text: #f5f0e1;
--button-active-bg: #002b5c;
--button-active-text: #f5f0e1;
--button-active-bg: #f5f0e1;
--button-active-text: #002b5c;
}
* {
@@ -63,10 +63,13 @@ body {
padding: 1.5rem;
}
/* Segmented control: both options joined in one rounded container,
with the active segment filled. */
.theme-toggle {
display: flex;
gap: 0.5rem;
border: none;
display: inline-flex;
border: 2px solid var(--button-bg);
border-radius: 999px;
overflow: hidden;
margin: 0;
padding: 0;
}
@@ -75,19 +78,22 @@ body {
font-family: inherit;
font-size: 0.9rem;
font-weight: 600;
padding: 0.5rem 1rem;
border: 2px solid var(--button-bg);
border-radius: 999px;
padding: 0.5rem 1.1rem;
border: none;
background: transparent;
color: var(--text);
cursor: pointer;
transition: background 0.2s ease, color 0.2s ease;
}
/* Divider between the two segments. */
.theme-button + .theme-button {
border-left: 2px solid var(--button-bg);
}
.theme-button[aria-pressed="true"] {
background: var(--button-active-bg);
color: var(--button-active-text);
border-color: var(--button-active-bg);
}
.stage {