From 021ed0a5fac8ba31ef4ef2a9b537f01ffd9b67eb Mon Sep 17 00:00:00 2001 From: Romain Marcadier Date: Thu, 16 Oct 2025 15:21:56 +0200 Subject: [PATCH] chore: fix invalid JSON in default ruleset udpater --- .github/workflows/default-ruleset.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/default-ruleset.yml b/.github/workflows/default-ruleset.yml index 38ff642..a19ce68 100644 --- a/.github/workflows/default-ruleset.yml +++ b/.github/workflows/default-ruleset.yml @@ -41,7 +41,9 @@ jobs: id: detect run: |- git add . - git diff --staged --patch --exit-code || echo "mutation-happened=true" >> "${GITHUB_OUTPUT}" + mutated='false' + git diff --staged --patch --exit-code || mutated='true' + echo "mutation-happened=${mutated}" >> "${GITHUB_OUTPUT}" ########################################################################## # Creating a PR with the changes if there are any