Skip to content

Simple role system, the second iteration #93

Simple role system, the second iteration

Simple role system, the second iteration #93

Workflow file for this run

name: Check Spelling
on:
pull_request:
branches:
- "**"
issue_comment:
types:
- 'created'
jobs:
spelling:
name: Check Spelling
permissions:
contents: read
pull-requests: read
actions: read
security-events: write
outputs:
followup: ${{ steps.spelling.outputs.followup }}
runs-on: ubuntu-latest
if: ${{ contains(github.event_name, 'pull_request') || github.event_name == 'push' }}
concurrency:
group: spelling-${{ github.event.pull_request.number || github.ref }}
# note: If you use only_check_changed_files, you do not want cancel-in-progress
cancel-in-progress: true
steps:
- name: check-spelling
id: spelling
uses: check-spelling/check-spelling@main
with:
suppress_push_for_open_pull_request: ${{ github.actor != 'dependabot[bot]' && 1 }}
checkout: true
check_file_names: 1
spell_check_this: check-spelling/spell-check-this@prerelease
post_comment: 0
use_magic_file: 1
report-timing: 1
warnings: bad-regex,binary-file,deprecated-feature,large-file,limited-references,no-newline-at-eof,noisy-file,non-alpha-in-dictionary,token-is-substring,unexpected-line-ending,whitespace-in-dictionary,minified-file,unsupported-configuration,no-files-to-check
experimental_apply_changes_via_bot: 1
use_sarif: ${{ (!github.event.pull_request || (github.event.pull_request.head.repo.full_name == github.repository)) && 1 }}
extra_dictionary_limit: 20
extra_dictionaries:
cspell:software-terms/dict/softwareTerms.txt
cspell:golang/dict/go.txt
cspell:python/src/common/extra.txt
cspell:python/src/python/python-lib.txt
cspell:node/dict/node.txt
cspell:java/src/java.txt
cspell:aws/aws.txt
cspell:html/dict/html.txt
cspell:php/dict/php.txt
cspell:fullstack/dict/fullstack.txt
cspell:shell/dict/shell-all-words.txt
cspell:docker/src/docker-words.txt
cspell:django/dict/django.txt
cspell:java/src/java-terms.txt
cspell:npm/dict/npm.txt
cspell:k8s/dict/k8s.txt
cspell:dotnet/dict/dotnet.txt
cspell:python/src/python/python.txt
cspell:filetypes/filetypes.txt
cspell:typescript/dict/typescript.txt
cspell:r/src/r.txt
cspell:cpp/src/stdlib-c.txt
comment-pr:
name: Report (PR)
# If you workflow isn't running on pull_request*, you can remove this job
runs-on: ubuntu-latest
needs: spelling
permissions:
contents: read
pull-requests: write
if: (success() || failure()) && needs.spelling.outputs.followup && contains(github.event_name, 'pull_request')
steps:
- name: comment
uses: check-spelling/check-spelling@main
with:
checkout: true
spell_check_this: check-spelling/spell-check-this@prerelease
task: ${{ needs.spelling.outputs.followup }}
experimental_apply_changes_via_bot: 1