Adjust workflows to ignore errors & autoformat ADOPTERS.md using prettier
Signed-off-by: Philipp Hugenroth <philipph@spotify.com>
This commit is contained in:
@@ -109,7 +109,7 @@ jobs:
|
||||
run: node scripts/verify-links.js
|
||||
|
||||
- name: prettier
|
||||
run: yarn prettier:check
|
||||
run: yarn prettier:check '!ADOPTERS.md'
|
||||
|
||||
- name: lock
|
||||
run: yarn lock:check
|
||||
|
||||
@@ -46,8 +46,8 @@ jobs:
|
||||
- name: Run Prettier on docs
|
||||
uses: creyD/prettier_action@v3.1
|
||||
with:
|
||||
# Modifies commit only if prettier autofixed a Markdown file
|
||||
prettier_options: --config docs/prettier.config.js --write docs/**/*.md
|
||||
# Modifies commit only if prettier autofixed the ADOPTERS.md
|
||||
prettier_options: --config docs/prettier.config.js --write ADOPTERS.md
|
||||
only_changed: true
|
||||
commit_message: 'Autofix documentation Markdown files using Prettier'
|
||||
env:
|
||||
|
||||
Reference in New Issue
Block a user