We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f0f58ea commit c2fe048Copy full SHA for c2fe048
1 file changed
.github/workflows/codestate-pr-report.yml
@@ -78,9 +78,7 @@ jobs:
78
fi
79
# Write metadata for this run
80
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
+ printf '%s' "{\"pr_number\":\"$PR_NUMBER\",\"short_sha\":\"$SHORT_SHA\",\"sha\":\"$GITHUB_SHA\",\"time\":\"$COMMIT_TIME\",\"message\":\"$COMMIT_MSG_ESC\"}" > "$OUTDIR/$SUBPATH/metadata.json"
84
# Build history list from existing content in OUTDIR (copied + current)
85
HISTORY_FILE_MD="$OUTDIR/history.md"
86
echo "# CodeState Report History" > "$HISTORY_FILE_MD"
0 commit comments