Adjust workflows to ignore errors & autoformat ADOPTERS.md using prettier

Signed-off-by: Philipp Hugenroth <philipph@spotify.com>
This commit is contained in:
Philipp Hugenroth
2021-08-09 13:37:11 +02:00
parent c599fd104e
commit efabbe3f02
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -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
+2 -2
View File
@@ -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: