Skip to content

Commit 02bc0ff

Browse files
committed
Added escape commit msg
1 parent a550b29 commit 02bc0ff

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

.github/workflows/sync-dataset-json-changes-to-js-utils.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,7 @@ jobs:
7878
cp -f "$src_file" "$dest_dir/$dataset.json"
7979
COMMIT_MSG="${RAW_COMMIT_MSG:-Update $dataset.json} ↞ [auto-sync from \
8080
https://github.com/adamlui/python-utils/tree/main/$dataset]"
81+
ESCAPED_MSG=$(printf '%q' "$COMMIT_MSG")
8182
cd "${GITHUB_WORKSPACE}/adamlui/js-utils"
8283
git add "$dataset/$dataset.json"
8384
git commit -n -m "$COMMIT_MSG" || echo "Nothing to commit"

0 commit comments

Comments
 (0)