-
Notifications
You must be signed in to change notification settings - Fork 4
feat: add cspell configuration and CI spell-check #34
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 5 commits
0dbbd1c
7fcc17f
b74b151
16d2f72
adeec40
5fe4269
8a35e2e
a3c409b
fda0a3f
3f9173b
d57e3b7
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -139,6 +139,30 @@ jobs: | |
| - name: Check Licenses | ||
| run: npm run check-licenses | ||
|
|
||
| spell-check: | ||
| name: Spell Check | ||
| runs-on: ubuntu-latest | ||
| timeout-minutes: 15 | ||
| steps: | ||
| - name: Checkout | ||
| uses: actions/checkout@v5 | ||
|
|
||
| - name: Setup Node.js | ||
| uses: actions/setup-node@v5 | ||
| with: | ||
| cache: 'npm' | ||
| node-version: ${{ env.NODE_VERSION }} | ||
| registry-url: 'https://npm.pkg.github.com' | ||
| scope: '@deepnote' | ||
|
|
||
| - name: Install dependencies | ||
| run: npm ci --prefer-offline --no-audit | ||
| env: | ||
| NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
|
Comment on lines
+175
to
+188
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Pin actions to commit SHAs. - - name: Checkout
- uses: actions/checkout@v5
+ - name: Checkout
+ uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5
@@
- - name: Setup Node.js
- uses: actions/setup-node@v5
+ - name: Setup Node.js
+ uses: actions/setup-node@a0853c24544627f65ddf259abe73b1d18a591444 # v5
🤖 Prompt for AI Agents |
||
|
|
||
| - name: Run spell check | ||
| run: npm run spell-check | ||
|
|
||
| audit-prod: | ||
| name: Audit - Production | ||
| runs-on: ubuntu-latest | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Re-pin GitHub Actions to SHAs.
Every other job pins
actions/checkoutandactions/setup-nodeto vetted SHAs; this job drops back to floating@v5, undermining the supply-chain hardening we already enforce. Please use the same commit SHAs as the rest of the workflow.🤖 Prompt for AI Agents