Skip to content

Commit 919a5b4

Browse files
authored
fix(action): spell check (#838)
2 parents bc550d4 + 620377b commit 919a5b4

File tree

2 files changed

+12
-8
lines changed

2 files changed

+12
-8
lines changed

.github/workflows/spell-check.yml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
name: Spell Check
22
on:
33
pull_request:
4+
types: [opened, synchronize, reopened]
5+
paths: ["**/*.md", "**/*.mdx", ".github/workflows/spell-check.yml"]
46

57
permissions:
68
contents: read
@@ -9,22 +11,24 @@ jobs:
911
spell-check:
1012
runs-on: ubuntu-latest
1113
steps:
12-
- name: Checkout code
14+
- name: Checkout repository
1315
uses: actions/checkout@v4
1416
with:
1517
fetch-depth: 0
1618

17-
- name: Get changed files
19+
- name: Get changed markdown files
1820
id: changed-files
1921
uses: tj-actions/changed-files@v46
2022
with:
23+
base_sha: ${{ github.event.pull_request.base.sha }}
24+
sha: ${{ github.event.pull_request.head.sha }}
2125
include_all_old_new_renamed_files: true
2226
files: |
2327
**/*.md
2428
**/*.mdx
2529
26-
- name: Run Spell Check on all changed files
27-
uses: crate-ci/typos@master
30+
- name: Run spell check
31+
uses: crate-ci/typos@v1
2832
with:
2933
config: ./.github/config/typos.toml
3034
files: ${{ steps.changed-files.outputs.all_changed_files }}

static/openapi/data-availability-api.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,7 @@ paths:
225225
operationId: fdc_list_2
226226
description:
227227
Returns full merkle tree with proof for each leaf for given round.
228-
Leafs are abi decoded.
228+
Leaves are ABI decoded.
229229
parameters:
230230
- in: query
231231
name: voting_round_id
@@ -251,7 +251,7 @@ paths:
251251
operationId: fdc_proof_by_request_round_create
252252
description:
253253
Retrieves the attestation request proof for given request bytes
254-
and voting round. Leafs are abi decoded.
254+
and voting round. Leaves are ABI decoded.
255255
tags:
256256
- fdc
257257
requestBody:
@@ -286,7 +286,7 @@ paths:
286286
operationId: fdc_proof_by_request_round_raw_create
287287
description:
288288
Retrieves the attestation request proof for given request bytes
289-
and voting round. Leafs are abi encoded.
289+
and voting round. Leaves are ABI encoded.
290290
tags:
291291
- fdc
292292
requestBody:
@@ -321,7 +321,7 @@ paths:
321321
operationId: fdc_raw_list
322322
description:
323323
Returns full merkle tree with proof for each leaf for given round.
324-
Leafs are abi encoded.
324+
Leaves are ABI encoded.
325325
parameters:
326326
- in: query
327327
name: voting_round_id

0 commit comments

Comments
 (0)