Skip to content

Commit 98ca301

Browse files
committed
Merge branch 'main' of github.com:infraspecdev/infraspec.dev into cache-strategies
2 parents 4bb6efa + 24fdec9 commit 98ca301

33 files changed

+908
-21
lines changed

.github/workflows/spell_check.yml

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
name: Spell Check and Grammar Check
2+
3+
on:
4+
pull_request:
5+
branches: [main]
6+
paths: ["content/blog/*"]
7+
8+
jobs:
9+
spellcheck:
10+
runs-on: ubuntu-latest
11+
permissions:
12+
contents: read
13+
pull-requests: write
14+
steps:
15+
- name: Checkout repository
16+
uses: actions/checkout@v3
17+
18+
- name: Get changed files
19+
id: changed-files
20+
uses: tj-actions/changed-files@v44
21+
with:
22+
files: |
23+
content/blog/**.md
24+
25+
- name: Run Spell Check Action
26+
uses: infraspecdev/spellcheck-action@v1.2.2
27+
with:
28+
openai_api_key: ${{ secrets.OPENAI_API_KEY }}
29+
github_token: ${{ secrets.GITHUB_TOKEN }}
30+
github_repository: ${{ github.repository }}
31+
pr_number: ${{ github.event.number }}
32+
files: ${{ steps.changed-files.outputs.all_changed_files }}
33+
34+
- name: Fail the job if spell check failed
35+
if: failure()
36+
run: exit 1

.markdownlint.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
{
22
"MD013": false,
3-
"MD033": false
3+
"MD033": false,
4+
"MD024": false
45
}

content/blog/clickhouse-benchmarking.md

Lines changed: 230 additions & 0 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)