diff options
Diffstat (limited to '.github/workflows/cspell.yml')
-rw-r--r-- | .github/workflows/cspell.yml | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/.github/workflows/cspell.yml b/.github/workflows/cspell.yml index 3751ad3..11788e3 100644 --- a/.github/workflows/cspell.yml +++ b/.github/workflows/cspell.yml @@ -2,22 +2,30 @@ name: cspell on: push: - branches-ignore: - - "dependabot/**" + branches: + - main pull_request: workflow_dispatch: env: FORCE_COLOR: 2 - NODE: 16 + +permissions: + contents: read jobs: cspell: + permissions: + # allow streetsidesoftware/cspell-action to fetch files for commits and PRs + contents: read + pull-requests: read runs-on: ubuntu-latest steps: - name: Clone repository uses: actions/checkout@v3 + with: + persist-credentials: false - name: Run cspell uses: streetsidesoftware/cspell-action@v2 |