Skip to content

Commit

Permalink
Carry over enhancements from #2
Browse files Browse the repository at this point in the history
  • Loading branch information
withinfocus committed Aug 23, 2023
1 parent b082225 commit d25b558
Show file tree
Hide file tree
Showing 5 changed files with 45 additions and 2 deletions.
20 changes: 20 additions & 0 deletions .cspell.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{
"$schema": "https://raw.githubusercontent.com/streetsidesoftware/cspell/main/cspell.schema.json",
"version": "0.2",
"dictionaryDefinitions": [
{
"name": "project-words",
"path": "./project-words.txt",
"addWords": true
}
],
"dictionaries": ["project-words"],
"ignorePaths": [
".vscode",
"**/.cspell.json",
"**/.git/**",
"**/node_modules/**",
"**/package-lock.json",
"/project-words.txt"
]
}
8 changes: 8 additions & 0 deletions .github/workflows/enforce-labels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,18 @@ on:
workflow_call:
pull_request:
types: [labeled, unlabeled, opened, edited, synchronize]

permissions: read-all

jobs:
enforce-label:
name: Enforce label
runs-on: ubuntu-22.04
permissions:
contents: read
checks: write
pull-requests: write

steps:
- name: Enforce label
uses: yogevbd/enforce-label-action@a3c219da6b8fa73f6ba62b68ff09c469b3a1c024 # 2.2.2
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/workflow-linter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,12 @@ on:
paths:
- .github/workflows/**

permissions: read-all

jobs:
call-workflow:
uses: bitwarden/gh-actions/.github/workflows/workflow-linter.yml@a30e9c3d658dc97c4c2e61ec749fdab64b83386c
permissions:
contents: read
checks: write
pull-requests: write
2 changes: 0 additions & 2 deletions .mega-linter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,3 @@ APPLY_FIXES: all
DEFAULT_BRANCH: main
SHOW_ELAPSED_TIME: false
FILEIO_REPORTER: false
DISABLE_LINTERS:
- SPELL_CSPELL
11 changes: 11 additions & 0 deletions project-words.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# Custom dictionary for spellchecking. Before adding a word here, consider whether you can put
# it in a single (`) or multiline (```) code snippet instead, as they are automatically ignored
# by the spellchecker. Please keep the list sorted alphabetically.

Bitwarden
classpath
fullname
keyserver
stefanzweifel
venv
yogevbd

0 comments on commit d25b558

Please sign in to comment.