Skip to content

Commit 8e8ce16

Browse files
authored
chore: fix invalid JSON in default ruleset udpater (#153)
1 parent ecf3e6a commit 8e8ce16

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/default-ruleset.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,9 @@ jobs:
4141
id: detect
4242
run: |-
4343
git add .
44-
git diff --staged --patch --exit-code || echo "mutation-happened=true" >> "${GITHUB_OUTPUT}"
44+
mutated='false'
45+
git diff --staged --patch --exit-code || mutated='true'
46+
echo "mutation-happened=${mutated}" >> "${GITHUB_OUTPUT}"
4547
4648
##########################################################################
4749
# Creating a PR with the changes if there are any

0 commit comments

Comments
 (0)