Skip to content

Commit

Permalink
spellcheck rfds
Browse files Browse the repository at this point in the history
  • Loading branch information
rosstimothy committed Dec 13, 2024
1 parent 941a993 commit 0699072
Show file tree
Hide file tree
Showing 3 changed files with 740 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/lint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@ jobs:
base: ${{ github.event.pull_request.base.ref || github.event.merge_group.base_ref }}
ref: ${{ github.event.pull_request.head.ref || github.event.merge_group.head_ref }}
filters: |
has_rfd:
- 'rfd/**'
has_go:
- '.github/workflows/lint.yaml'
- '**.go'
Expand Down Expand Up @@ -231,3 +233,25 @@ jobs:
# We have to add the current directory as a safe directory or else git commands will not work as expected.
# The protoc-gen-terraform version must match the version in integrations/terraform/Makefile
run: git config --global --add safe.directory $(realpath .) && go install github.com/gravitational/protoc-gen-terraform@c91cc3ef4d7d0046c36cb96b1cd337e466c61225 && make terraform-resources-up-to-date

lint-rfd:
name: Lint (RFD)
needs: changes
if: ${{ !startsWith(github.head_ref, 'dependabot/') && needs.changes.outputs.has_proto == 'true' }}
runs-on: ubuntu-22.04-16core

permissions:
contents: read

container:
image: ghcr.io/gravitational/teleport-buildbox:teleport17

steps:
- name: Checkout
uses: actions/checkout@v4

- name: Install JS dependencies
run: pnpm install --frozen-lockfile

- name: Check spelling
run: pnpm cspell -c ./rfd/cspell.json rfd/**.md
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@
"@types/react-router-dom": "^5.1.1",
"@types/react-transition-group": "^4.4.11",
"@types/wicg-file-system-access": "^2023.10.5",
"cspell": "^8.16.1",
"jest": "^29.7.0",
"jsdom-testing-mocks": "^1.13.1",
"msw": "^2.6.6",
Expand Down
Loading

0 comments on commit 0699072

Please sign in to comment.