Skip to content

Commit 64e5cc0

Browse files
authored
ci: run prettier before opening docs PR (#1008)
1 parent d10ad6d commit 64e5cc0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

scripts/open-docs-pull-request.sh

+1
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ git clone --depth 1 \
1818
echo "Copying contents to git repo"
1919
cp -R "$source_path" "$clone_dir/$destination_path"
2020
cd "$clone_dir"
21+
yarn && yarn prettier --write "$destination_path/$source_path"
2122
git checkout -b "$destination_head_branch"
2223

2324
if [ -z "$(git status -z)" ]; then

0 commit comments

Comments
 (0)