From 354b0ac7ed0d9a75d936b9b04375065fad217058 Mon Sep 17 00:00:00 2001 From: Patrice Chalin Date: Mon, 27 Jan 2025 04:38:08 -0500 Subject: [PATCH 1/2] [infra] mardown-lint: report missing tocstop (#1818) --- Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Makefile b/Makefile index 722b76edbe..5c2b6b4116 100644 --- a/Makefile +++ b/Makefile @@ -101,6 +101,8 @@ markdown-toc: if grep -q '' $$f; then \ echo markdown-toc: processing $$f; \ npx --no -- markdown-toc --bullets "-" --no-first-h1 --no-stripHeadingTags -i $$f || exit 1; \ + elif grep -q '' $$f; then \ + echo markdown-toc: ERROR: '' missing from $$f; exit 1; \ else \ echo markdown-toc: no TOC markers, skipping $$f; \ fi; \ From 6217224ed6e57eb79f7cc7528904340b19673d48 Mon Sep 17 00:00:00 2001 From: Trask Stalnaker Date: Mon, 27 Jan 2025 02:13:30 -0800 Subject: [PATCH 2/2] Update schema_url in prepare release workflow (#1810) Co-authored-by: Joao Grassi <5938087+joaopgrassi@users.noreply.github.com> --- .github/workflows/prepare-release.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/prepare-release.yml b/.github/workflows/prepare-release.yml index 218fbe07bb..f1c549533d 100644 --- a/.github/workflows/prepare-release.yml +++ b/.github/workflows/prepare-release.yml @@ -31,6 +31,7 @@ jobs: fi version=${{ inputs.version }} + sed -i "0,/^schema_url: .*\/next$/s/\/next$/\/$version/" schema-next.yaml sed -i "0,/^ next:$/s// $version:/" schema-next.yaml cp schema-next.yaml "schemas/$version" git add "schemas/$version"