diff --git a/.github/workflows/spelling.yaml b/.github/workflows/spelling.yaml index 49b09a87b..b917224bd 100644 --- a/.github/workflows/spelling.yaml +++ b/.github/workflows/spelling.yaml @@ -1,8 +1,8 @@ --- name: Check Spelling on: - pull_request: - branches: ['**'] + pull_request_target: + branches: ["**"] types: [opened, reopened, synchronize] issue_comment: types: [created] @@ -11,6 +11,7 @@ jobs: name: Check Spelling permissions: contents: read + pull-requests: read actions: read security-events: write outputs: @@ -74,6 +75,6 @@ jobs: cspell:sql/src/tsql.txt cspell:terraform/dict/terraform.txt cspell:typescript/dict/typescript.txt - check_extra_dictionaries: '' + check_extra_dictionaries: "" only_check_changed_files: true - longest_word: '10' + longest_word: "10"