Skip to content

Commit c2fe048

Browse files
committed
3
1 parent f0f58ea commit c2fe048

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

.github/workflows/codestate-pr-report.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -78,9 +78,7 @@ jobs:
7878
fi
7979
# Write metadata for this run
8080
COMMIT_MSG_ESC=$(printf '%s' "$COMMIT_MSG" | sed 's/"/\\"/g')
81-
cat > "$OUTDIR/$SUBPATH/metadata.json" << META
82-
{"pr_number":"$PR_NUMBER","short_sha":"$SHORT_SHA","sha":"$GITHUB_SHA","time":"$COMMIT_TIME","message":"$COMMIT_MSG_ESC"}
83-
META
81+
printf '%s' "{\"pr_number\":\"$PR_NUMBER\",\"short_sha\":\"$SHORT_SHA\",\"sha\":\"$GITHUB_SHA\",\"time\":\"$COMMIT_TIME\",\"message\":\"$COMMIT_MSG_ESC\"}" > "$OUTDIR/$SUBPATH/metadata.json"
8482
# Build history list from existing content in OUTDIR (copied + current)
8583
HISTORY_FILE_MD="$OUTDIR/history.md"
8684
echo "# CodeState Report History" > "$HISTORY_FILE_MD"

0 commit comments

Comments
 (0)