Skip to content

Commit 85ac769

Browse files
committed
add cSpell directives
1 parent 8119a00 commit 85ac769

File tree

7 files changed

+25
-4
lines changed

7 files changed

+25
-4
lines changed

.github/workflows/codeql-analysis.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ on:
2828
- cron: '16 19 03,16 * *'
2929
workflow_dispatch:
3030

31+
# cSpell:ignore autobuild
3132
jobs:
3233
analyze:
3334
name: Analyze

.github/workflows/generate-release-target.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
# SPDX-License-Identifier: MIT
22
# SPDX-FileCopyrightText: "2022 smdn <smdn@smdn.jp>"
3-
# cSpell:words pullrequest,releasenote,unreleasable
3+
# cSpell:ignore prevver,pwsh
4+
# cSpell:words pullrequest,releasenote,unreleasable,unmatch
45

56
name: Generate release target (reusable workflow)
67
run-name: Generate release target for ${{ inputs.release_target_tag_name }}
@@ -79,9 +80,11 @@ on:
7980
required: true
8081

8182
env:
83+
# cSpell:disable
8284
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true
8385
DOTNET_CLI_TELEMETRY_OPTOUT: true
8486
DOTNET_NOLOGO: true
87+
# cSpell:enable
8588

8689
jobs:
8790
generate-release-target:
@@ -286,6 +289,7 @@ jobs:
286289
- name: Restore dependencies of ${{ steps.package-info.outputs.package_id }}
287290
shell: pwsh
288291
run: |
292+
# cSpell:disable-next-line
289293
# workaround for error on `dotnet restore`; The process cannot access the file '/home/runner/.nuget/NuGet/nugetorgadd.trk'
290294
# remove when https://github.com/NuGet/Home/issues/11607 is fixed
291295
# ref: https://github.com/EventStore/EventStore-Client-Dotnet/pull/201

.github/workflows/manage-nuget-package-caches.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,18 @@
11
# SPDX-License-Identifier: MIT
22
# SPDX-FileCopyrightText: "2022 smdn <smdn@smdn.jp>"
3+
# cSpell:ignore pwsh
34

45
name: Manage NuGet package caches
56

67
on:
78
workflow_dispatch:
89

910
env:
11+
# cSpell:disable
1012
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true
1113
DOTNET_CLI_TELEMETRY_OPTOUT: true
1214
DOTNET_NOLOGO: true
15+
# cSpell:enable
1316

1417
jobs:
1518
manage-nuget-package-caches:

.github/workflows/publish-release-target.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
# SPDX-License-Identifier: MIT
22
# SPDX-FileCopyrightText: "2022 smdn <smdn@smdn.jp>"
3+
#cSpell:ignore apikey,dawidd6,pwsh,prevver,shipit,unshallow
34

45
name: Publish release target (reusable workflow)
56
run-name: Publish release target (Release PR \#${{ inputs.pr_number_request_for_release }})
@@ -55,9 +56,11 @@ on:
5556
required: false
5657

5758
env:
59+
# cSpell:disable
5860
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true
5961
DOTNET_CLI_TELEMETRY_OPTOUT: true
6062
DOTNET_NOLOGO: true
63+
# cSpell:enable
6164

6265
jobs:
6366
publish-release-target:
@@ -155,13 +158,13 @@ jobs:
155158
exit 1
156159
}
157160
158-
$release_target_infoes = (
161+
$release_target_info_list = (
159162
$release_pr_body |
160163
Select-String -Pattern '(?m)^\- (?<key>[a-z_]+)\: \[?`(?<value>[^`]+)`\]?.*$' -AllMatches
161164
).Matches
162165
$release_info_dict = [System.Collections.Generic.Dictionary[String, String]]::new()
163166
164-
foreach ($pair in $release_target_infoes) {
167+
foreach ($pair in $release_target_info_list) {
165168
if ( ! $release_info_dict.ContainsKey($pair.Groups['key'].Value) ) {
166169
# stores the first value found
167170
$release_info_dict[$pair.Groups['key'].Value] = $pair.Groups['value'].Value

.github/workflows/publish-release.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
# SPDX-License-Identifier: MIT
22
# SPDX-FileCopyrightText: "2022 smdn <smdn@smdn.jp>"
3+
#cSpell:ignore apikey,commitish,pwsh,prevver,releasenote,releasenotes
34

45
name: Publish release (reusable workflow)
56
run-name: Publish release for '${{ inputs.release_tag }}'

.github/workflows/test.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
# SPDX-License-Identifier: MIT
22
# SPDX-FileCopyrightText: "2022 smdn <smdn@smdn.jp>"
3+
#cSpell:ignore apikey,pwsh,VSTest
34

45
name: Run tests (reusable workflow)
56

@@ -75,6 +76,7 @@ on:
7576
default: true
7677

7778
dotnet_test_options_verbosity_level:
79+
# cSpell:disable-next-line
7880
description: "The argument to be set to the `--verbosity <LEVEL>` option of the `dotnet test` command. <LEVEL> := q[uiet], m[inimal], n[ormal], d[etailed], diag[nostic]"
7981
required: false
8082
type: string
@@ -104,10 +106,12 @@ on:
104106
required: true
105107

106108
env:
109+
# cSpell:disable
107110
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true
108111
DOTNET_CLI_TELEMETRY_OPTOUT: true
109112
DOTNET_NOLOGO: true
110113
MSBUILDTERMINALLOGGER: off
114+
# cSpell:enable
111115

112116
jobs:
113117
setup:
@@ -312,6 +316,7 @@ jobs:
312316
- name: Restore dependencies of ${{ matrix.project.Name }}
313317
shell: pwsh
314318
run: |
319+
# cSpell:disable-next-line
315320
# workaround for error on `dotnet restore`; The process cannot access the file '/home/runner/.nuget/NuGet/nugetorgadd.trk'
316321
# remove when https://github.com/NuGet/Home/issues/11607 is fixed
317322
# ref: https://github.com/EventStore/EventStore-Client-Dotnet/pull/201

.vscode/cspell.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,13 @@
1111
"language": "en",
1212
// words - list of words to be always considered correct
1313
"words": [
14+
"apilist",
1415
"cloneable",
1516
"entitize",
1617
"hypot",
1718
"LINQ",
1819
"memberwise",
20+
"MSBuild",
1921
"picturized",
2022
"postamble",
2123
"smdn",
@@ -25,17 +27,19 @@
2527
"assm",
2628
"assem",
2729
"iface",
28-
"resx",
2930
"netcoreapp",
3031
"netframework",
3132
"netfx",
3233
"netstandard",
34+
"nologo",
35+
"resx",
3336
],
3437
"ignoreRegExpList": [
3538
"SYSTEM_[A-Z][A-Z0-9_]+",
3639
"NETFRAMEWORK[0-9][A-Z0-9_]+",
3740
"NETCOREAPP[0-9]_[0-9]_[A-Z0-9_]+",
3841
"NETSTANDARD[0-9]_[0-9]_[A-Z0-9_]+",
42+
"NETSDK[0-9]+",
3943
],
4044
// flagWords - list of words to be always considered incorrect
4145
// This is useful for offensive words and common spelling errors.

0 commit comments

Comments
 (0)