From d5da07703d43171cb6d5d33c97b86d61bfa0427f Mon Sep 17 00:00:00 2001 From: reivilibre Date: Tue, 10 Jun 2025 11:44:04 +0000 Subject: [PATCH] Config schema documentation CI: fix not failing when it should (#18528) Follows: #17892
  1. Config documentation CI: fix not failing if changes are outstanding
Shown to work at : https://github.com/element-hq/synapse/actions/runs/15532406886/job/43724019104?pr=18528 --------- Signed-off-by: Olivier 'reivilibre --- .github/workflows/schema.yaml | 2 +- changelog.d/18528.doc | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) create mode 100644 changelog.d/18528.doc diff --git a/.github/workflows/schema.yaml b/.github/workflows/schema.yaml index 41f3cd01b..1e13c1fef 100644 --- a/.github/workflows/schema.yaml +++ b/.github/workflows/schema.yaml @@ -51,4 +51,4 @@ jobs: > docs/usage/configuration/config_documentation.md - name: Error in case of any differences # Errors if there are now any modified files (untracked files are ignored). - run: 'git diff || ! git status --porcelain=1 | grep "^ M"' + run: 'git diff --exit-code' diff --git a/changelog.d/18528.doc b/changelog.d/18528.doc new file mode 100644 index 000000000..83c03190d --- /dev/null +++ b/changelog.d/18528.doc @@ -0,0 +1 @@ +Generate config documentation from JSON Schema file.