Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .github/workflows/cli-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,8 @@ jobs:
node-version: "20"
- run: npm install -g cspell@8.13.1
- name: Spell check for go and docs
run: cspell lint '**/*.{go,md}' --config ./cli/azd/.vscode/cspell.yaml --root ./cli/azd --no-progress
working-directory: cli/azd
run: cspell lint '**/*.go' '**/*.md' --exclude 'extensions/**' --config ./.vscode/cspell.yaml --no-progress

Copyright-check:
runs-on: ubuntu-latest
Expand Down
35 changes: 35 additions & 0 deletions .github/workflows/cspell-ext.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: cspell-ext

on:
pull_request:
paths:
- "cli/azd/extensions/**/*.go"
- "cli/azd/extensions/**/*.md"
- "cli/azd/extensions/**/cspell.yaml"
- "cli/azd/.vscode/cspell.yaml"
- "cli/azd/.vscode/cspell-azd-dictionary.txt"
- ".github/workflows/cspell-ext.yml"
branches: [main]

concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number }}
cancel-in-progress: true

permissions:
contents: read

jobs:
cspell-lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: "20"
- run: npm install -g cspell@8.13.1
- name: Spell check for extensions
working-directory: cli/azd
# Each extension has its own cspell.yaml that imports the main config.
# cspell's config cascade auto-discovers per-extension configs for files
# under each extension directory, applying extension-specific overrides.
run: cspell lint 'extensions/**/*.go' 'extensions/**/*.md' --config ./.vscode/cspell.yaml --no-progress
20 changes: 0 additions & 20 deletions cli/azd/.vscode/cspell.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -262,11 +262,6 @@ overrides:
- println
- myext
- Fatalf
- filename: extensions/microsoft.azd.ai.builder/internal/cmd/start.go
words:
- dall
- datasource
- vectorizing
- filename: pkg/project/dockerfile_builder.go
words:
- WORKDIR
Expand Down Expand Up @@ -312,12 +307,6 @@ overrides:
- filename: pkg/extensions/manager.go
words:
- myext
- filename: extensions/microsoft.azd.extensions/internal/resources/languages/**/.gitignore
words:
- rsuser
- userosscache
- docstates
- dylib
- filename: docs/recording-functional-tests-guide.md
words:
- httptest
Expand Down Expand Up @@ -353,21 +342,12 @@ overrides:
words:
- WORKDIR
- workdir
- filename: extensions/microsoft.azd.demo/internal/cmd/metadata.go
words:
- invopop
- filename: extensions/microsoft.azd.concurx/internal/cmd/prompt_model.go
words:
- textinput
- filename: pkg/azdext/scope_detector.go
words:
- fakeazure
- filename: "{pkg/azapi/permissions.go,pkg/infra/provisioning/bicep/bicep_provider.go}"
words:
- ABAC
- filename: extensions/azure.ai.models/internal/cmd/custom_create.go
words:
- Qwen
- filename: pkg/infra/provisioning/bicep/local_preflight.go
words:
- actioned
Expand Down
1 change: 1 addition & 0 deletions cli/azd/extensions/azure.ai.agents/cspell.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import: ../../.vscode/cspell.yaml
words:
# Azure region names
- australiaeast
Expand Down
1 change: 1 addition & 0 deletions cli/azd/extensions/azure.ai.finetune/cspell.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import: ../../.vscode/cspell.yaml
words:
- azureprovider
- finetune
Expand Down
5 changes: 5 additions & 0 deletions cli/azd/extensions/azure.ai.models/cspell.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
import: ../../.vscode/cspell.yaml
overrides:
- filename: internal/cmd/custom_create.go
words:
- Qwen
words:
- azcopy
- Kimi
Expand Down
1 change: 1 addition & 0 deletions cli/azd/extensions/azure.appservice/cspell.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
import: ../../.vscode/cspell.yaml
1 change: 1 addition & 0 deletions cli/azd/extensions/azure.coding-agent/cspell.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
import: ../../.vscode/cspell.yaml
7 changes: 7 additions & 0 deletions cli/azd/extensions/microsoft.azd.ai.builder/cspell.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
import: ../../.vscode/cspell.yaml
overrides:
- filename: internal/cmd/start.go
words:
- dall
- datasource
- vectorizing
5 changes: 5 additions & 0 deletions cli/azd/extensions/microsoft.azd.concurx/cspell.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
import: ../../.vscode/cspell.yaml
overrides:
- filename: internal/cmd/prompt_model.go
words:
- textinput
5 changes: 5 additions & 0 deletions cli/azd/extensions/microsoft.azd.demo/cspell.yaml
Original file line number Diff line number Diff line change
@@ -1,2 +1,7 @@
import: ../../.vscode/cspell.yaml
overrides:
- filename: internal/cmd/metadata.go
words:
- invopop
words:
- colours
8 changes: 8 additions & 0 deletions cli/azd/extensions/microsoft.azd.extensions/cspell.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
import: ../../.vscode/cspell.yaml
overrides:
- filename: internal/resources/languages/**/.gitignore
words:
- rsuser
- userosscache
- docstates
- dylib
Loading