Merge branch 'usnistgov:sonoma' into sonoma

This commit is contained in:
Dan Brodjieski
2025-11-14 13:52:29 -05:00
committed by GitHub
2 changed files with 40 additions and 0 deletions

38
.github/workflows/spellcheck.yml vendored Normal file
View File

@@ -0,0 +1,38 @@
name: Spell Check
on:
push:
branches-ignore:
- main
pull_request:
branches-ignore:
- main
jobs:
spellcheck:
runs-on: ubuntu-latest
steps:
# Checkout the branch that triggered the workflow
- name: Checkout branch
uses: actions/checkout@v3
# Pull latest cspell files from main to keep them in sync
- name: Pull cspell config and dictionary from main
run: |
git fetch origin main
git checkout origin/main -- .github/cspell/
# Setup Node 20+ for cspell
- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: '20'
# Install cspell globally
- name: Install cspell
run: npm install -g cspell@latest
# Run spell check
- name: Run cspell
run: npx cspell --no-progress --no-summary --config .github/cspell/cspell.json "**"

View File

@@ -4,6 +4,8 @@ discussion: |
Dictation _MUST_ be restricted to on device only to prevent potential data exfiltration.
The information system _MUST_ be configured to provide only essential capabilities.
IMPORTANT: This rule only applies to Apple Silicon devices.
check: |
/usr/bin/osascript -l JavaScript << EOS
$.NSUserDefaults.alloc.initWithSuiteName('com.apple.applicationaccess')\