File tree Expand file tree Collapse file tree 1 file changed +0
-31
lines changed
Expand file tree Collapse file tree 1 file changed +0
-31
lines changed Original file line number Diff line number Diff line change 5555 run :
5656 command : " wget https://raw.githubusercontent.com/ocpdocs-previewbot/openshift-docs/main/scripts/ghcomment.sh && chmod +x ghcomment.sh && ./ghcomment.sh"
5757 name : " Add comment on PR"
58- -
59- run :
60- command : " wget https://raw.githubusercontent.com/ocpdocs-previewbot/openshift-docs/main/scripts/vale_error_comments.sh && chmod +x vale_error_comments.sh && ./vale_error_comments.sh"
61- name : " Vale errors (modified lines only)"
62-
63- vale_check :
64- docker :
65- - image : cimg/ruby:3.0.5
66- steps :
67- - checkout
68- - run :
69- name : Install asciidoctor
70- command : gem install asciidoctor
71- - run :
72- name : Install Vale
73- command : |
74- wget https://github.com/errata-ai/vale/releases/download/v2.20.1/vale_2.20.1_Linux_64-bit.tar.gz
75- tar -xvzf vale_2.20.1_Linux_64-bit.tar.gz -C $HOME/bin/
76- echo $PATH
77- - run :
78- name : Sync Vale rules
79- command : vale sync
80- - run :
81- name : Download and run vale_error_comments.sh
82- command : |
83- wget https://raw.githubusercontent.com/ocpdocs-previewbot/openshift-docs/main/scripts/vale_error_comments.sh
84- chmod +x vale_error_comments.sh
85- ./vale_error_comments.sh
8658
8759orbs :
8860 jq : circleci/jq@2.2.0
@@ -91,6 +63,3 @@ workflows:
9163 build_and_publish :
9264 jobs :
9365 - build
94- - vale_check :
95- requires :
96- - build
You can’t perform that action at this time.
0 commit comments