Skip to content

Commit 8820d3a

Browse files
committed
fix action
1 parent 90b277a commit 8820d3a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/check-redirects-on-rename.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ jobs:
4242
echo "$OUTPUT"
4343
4444
# Extract JSON output if present
45-
if echo "$OUTPUT" | grep -q "---JSON_OUTPUT---"; then
45+
if echo "$OUTPUT" | grep -Fq "---JSON_OUTPUT---"; then
4646
JSON_OUTPUT=$(echo "$OUTPUT" | sed -n '/---JSON_OUTPUT---/,/---JSON_OUTPUT---/p' | sed '1d;$d')
4747
echo "validation_result<<EOF" >> $GITHUB_OUTPUT
4848
echo "$JSON_OUTPUT" >> $GITHUB_OUTPUT

0 commit comments

Comments
 (0)