Update CHANGELOG.md for v 7.0.0 (#774)
* Update CHANGELOG.md * Update CHANGELOG.md removed wrong info * Add syntax & spell CHANGELOG.md check (#770) * Add syntax & spell CHANGELOG.md check * Add aspell personal dictionary * Fix typos * Fix workflow * Fix md formatting * Small fix * Small fix * Fix typos * Trigger only push on paths * Update CHANGELOG.md * Update CHANGELOG.md * Fix spellchecker exeption * Run spellcheker on dictionary change Co-authored-by: Semyon Bezrukov <semen.bezrukov@onlyoffice.com> Co-authored-by: svetlana maleeva <svetlana.maleeva@onlyoffice.com> Co-authored-by: Alexey Golubev <alexey.golubev@onlyoffice.com>
This commit is contained in:
@@ -0,0 +1,32 @@
|
||||
name: check
|
||||
on:
|
||||
workflow_dispatch:
|
||||
push:
|
||||
paths:
|
||||
- 'CHANGELOG.md'
|
||||
- '.aspell.*.pws'
|
||||
jobs:
|
||||
markdownlint:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: Use Node.js 12
|
||||
uses: actions/setup-node@v1
|
||||
with:
|
||||
node-version: 12
|
||||
- name: Run markdownlint linter
|
||||
run: |
|
||||
npm install -g markdownlint-cli
|
||||
markdownlint CHANGELOG.md
|
||||
spellchecker:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: Setup aspell
|
||||
run: sudo apt-get -y update && sudo apt-get -y install aspell aspell-en
|
||||
- name: Run spellchecker
|
||||
run: |
|
||||
SPELLCHECK_OUT=$(cat CHANGELOG.md \
|
||||
| aspell --lang=en --encoding=utf-8 --personal=./.aspell.en.pws list)
|
||||
echo $SPELLCHECK_OUT
|
||||
test $(echo -n $SPELLCHECK_OUT | wc -c) -eq 0
|
||||
Reference in New Issue
Block a user