Skip to content

Commit 3458122

Browse files
authored
Merge pull request #3616 from Blargian/fix_docs_check_docs_repo
Update docs check
2 parents d391761 + fa4943f commit 3458122

File tree

3 files changed

+39
-55
lines changed

3 files changed

+39
-55
lines changed
Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
name: PullRequestCI
2+
3+
env:
4+
# Force the stdout and stderr streams to be unbuffered
5+
PYTHONUNBUFFERED: 1
6+
CI: false
7+
8+
on: # yamllint disable-line rule:truthy
9+
pull_request:
10+
types:
11+
- synchronize
12+
- reopened
13+
- opened
14+
15+
# Cancel the previous wf run in PRs.
16+
concurrency:
17+
group: ${{ github.workflow }}-${{ github.ref }}
18+
cancel-in-progress: true
19+
20+
jobs:
21+
DocsCheck:
22+
runs-on: ubuntu-latest
23+
steps:
24+
- name: Checkout repository
25+
uses: actions/checkout@v3
26+
27+
- name: Set up Node.js
28+
uses: actions/setup-node@v3
29+
with:
30+
node-version: '20' # Adjust Node.js version as needed
31+
cache: 'yarn' # Cache yarn dependencies
32+
33+
- name: Install dependencies
34+
run: yarn install --frozen-lockfile
35+
36+
- name: Build
37+
run: yarn build

.github/workflows/pull-request.yml

Lines changed: 0 additions & 54 deletions
This file was deleted.

contribute/style-guide.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@
22

33
In this document, you will find a number of style guidelines for writing ClickHouse
44
documentation. As documentation is a collective effort, these guidelines are
5-
intended to help all of us ensure quality and consistency across our documentation.
5+
intended to help all of us ensure we maintain quality and consistency across our
6+
documentation.
67

78
## YAML front matter
89

0 commit comments

Comments
 (0)