File tree Expand file tree Collapse file tree 2 files changed +49
-13
lines changed
Expand file tree Collapse file tree 2 files changed +49
-13
lines changed Original file line number Diff line number Diff line change 4646 mike set-default 17 -b publish -p
4747 mike retitle 17 "17 (LATEST)" -b publish -p
4848
49- - name : Install Node.js 14.x
50- uses : percona-platform/setup-node@v2
51- with :
52- node-version : " 14"
53-
54- - name : Spelling
55- run : |
56- npx markdown-spellcheck --report --en-us --ignore-acronyms --ignore-numbers "docs/**/*.md" || true
57- # Ignore errors, just inspect results
58- - name : Grammar
59- run : |
60- npx write-good --no-passive docs/**/*.md || true
61- # Ignore errors, just inspect results
49+
6250
6351
Original file line number Diff line number Diff line change 1+ name : Check spelling in Percona Distribution PostgreSQL 17 docs
2+ on :
3+ pull_request :
4+ branches :
5+ - 17
6+
7+ jobs :
8+ build :
9+ name : Check spelling
10+ runs-on : ubuntu-latest
11+
12+ steps :
13+ # Pull the latest changes
14+ - name : Chekout code
15+ uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
16+ with :
17+ fetch-depth : 0
18+ # Prepare the env
19+ - name : Set up Python
20+ uses : actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b # v5.3.0
21+ with :
22+ python-version : ' 3.x'
23+
24+ # Configure git
25+ - name : Configure git
26+ env :
27+ ROBOT_TOKEN : ${{ secrets.ROBOT_TOKEN }}
28+ run : |
29+ git config --global url."https://percona-platform-robot:${ROBOT_TOKEN}@github.com".insteadOf "https://github.com"
30+ git config user.name "GitHub Action"
31+ git config user.email "[email protected] " 32+ git config user.password "${ROBOT_TOKEN}"
33+ echo "GIT_USER=percona-platform-robot:${ROBOT_TOKEN}" >> $GITHUB_ENV
34+
35+ - name : Install Node.js 14.x
36+ uses : percona-platform/setup-node@v2
37+ with :
38+ node-version : " 14"
39+
40+ - name : Spelling
41+ run : |
42+ npx markdown-spellcheck --report --en-us --ignore-acronyms --ignore-numbers "docs/**/*.md" || true
43+ # Ignore errors, just inspect results
44+
45+ - name : Grammar
46+ run : |
47+ npx write-good --no-passive docs/**/*.md || true
48+ # Ignore errors, just inspect results
You can’t perform that action at this time.
0 commit comments