Docker versioning for Renovate pins, fail the gate on zero tests, refresh status line
CI / gate (push) Successful in 7s

This commit is contained in:
2026-08-24 00:01:20 +02:00
parent a5f87e4204
commit 00c6d46f11
3 changed files with 16 additions and 8 deletions
+1 -1
View File
@@ -3,7 +3,7 @@
Lossless conversion between **Atlassian Document Format** (ADF), an extended markdown flavour, and
an HTML dialect.
**Status: specification only, no code yet.** Plan: `todo.md`. Decisions: `AGENTS.md`.
**Status: scaffold only, no conversion code yet.** Plan: `todo.md`. Decisions: `AGENTS.md`.
## What it is for
+7 -1
View File
@@ -7,4 +7,10 @@ in_node() { docker run --rm -u "$(id -u):$(id -g)" -e HOME=/tmp -v "$PWD:/app" -
in_node npm ci
in_node npm run typecheck
in_node npm test
test_output=$(in_node npm test)
printf '%s\n' "$test_output"
if printf '%s' "$test_output" | grep -q ' tests 0'; then
echo 'the gate ran zero tests — failing instead of a vacuous green'
exit 1
fi
+8 -6
View File
@@ -1,23 +1,25 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": ["config:recommended"],
"automerge": true,
"customManagers": [
{
"customType": "regex",
"datasourceTemplate": "docker",
"depNameTemplate": "node",
"description": "Pin the node image ci.sh runs",
"managerFilePatterns": ["ci.sh"],
"matchStrings": ["node:(?<currentValue>[0-9][^\\s\"']*)"],
"depNameTemplate": "node",
"datasourceTemplate": "docker"
"versioningTemplate": "docker"
},
{
"customType": "regex",
"datasourceTemplate": "docker",
"depNameTemplate": "renovate/renovate",
"description": "Pin the Renovate image the Renovate workflow runs",
"managerFilePatterns": [".gitea/workflows/renovate.yml"],
"matchStrings": ["renovate/renovate:(?<currentValue>[0-9][^\\s\"']*)"],
"depNameTemplate": "renovate/renovate",
"datasourceTemplate": "docker"
"versioningTemplate": "docker"
}
]
],
"extends": ["config:recommended"]
}