@@ -3,19 +3,19 @@ name: Check Spelling
33on :
44 push :
55 branches :
6- - " ** "
6+ - ' ** '
77 tags-ignore :
8- - " ** "
8+ - ' ** '
99 pull_request_target :
1010 branches :
11- - " ** "
11+ - ' ** '
1212 types :
13- - ' opened'
14- - ' reopened'
15- - ' synchronize'
13+ - ' opened'
14+ - ' reopened'
15+ - ' synchronize'
1616 issue_comment :
1717 types :
18- - ' created'
18+ - ' created'
1919
2020jobs :
2121 spelling :
@@ -34,32 +34,31 @@ jobs:
3434 # note: If you use only_check_changed_files, you do not want cancel-in-progress
3535 cancel-in-progress : true
3636 steps :
37- - name : check-spelling
38- id : spelling
39- uses : check-spelling/check-spelling@main
40- with :
41- config : .github/actions/spelling
42- suppress_push_for_open_pull_request : ${{ github.actor != 'dependabot[bot]' && 1 }}
43- checkout : true
44- check_file_names : 1
45- spell_check_this : software-mansion-labs/react-native-audio-api@main
46- post_comment : 0
47- use_magic_file : 1
48- report-timing : 1
49- 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
50- experimental_apply_changes_via_bot : 1
51- use_sarif : ${{ (!github.event.pull_request || (github.event.pull_request.head.repo.full_name == github.repository)) && 1 }}
52- extra_dictionary_limit : 20
53- extra_dictionaries :
54- cspell:software-terms/dict/softwareTerms.txt
55- cspell:typescript/dict/typescript.txt
56- cspell:cpp/src/stdlib-cpp.txt
57- cspell:java/src/java.txt
58- cspell:cpp/src/stdlib-c.txt
59- cspell:html/dict/html.txt
60- cspell:npm/dict/npm.txt
61- cspell:css/dict/css.txt
62- cspell:golang/dict/go.txt
37+ - name : check-spelling
38+ id : spelling
39+ uses : check-spelling/check-spelling@main
40+ with :
41+ config : .github/actions/spelling
42+ suppress_push_for_open_pull_request : ${{ github.actor != 'dependabot[bot]' && 1 }}
43+ checkout : true
44+ check_file_names : 1
45+ spell_check_this : software-mansion/react-native-audio-api@main
46+ post_comment : 0
47+ use_magic_file : 1
48+ report-timing : 1
49+ 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
50+ experimental_apply_changes_via_bot : 1
51+ use_sarif : ${{ (!github.event.pull_request || (github.event.pull_request.head.repo.full_name == github.repository)) && 1 }}
52+ extra_dictionary_limit : 20
53+ extra_dictionaries : cspell:software-terms/dict/softwareTerms.txt
54+ cspell:typescript/dict/typescript.txt
55+ cspell:cpp/src/stdlib-cpp.txt
56+ cspell:java/src/java.txt
57+ cspell:cpp/src/stdlib-c.txt
58+ cspell:html/dict/html.txt
59+ cspell:npm/dict/npm.txt
60+ cspell:css/dict/css.txt
61+ cspell:golang/dict/go.txt
6362
6463 comment-push :
6564 name : Report (Push)
@@ -70,12 +69,12 @@ jobs:
7069 contents : write
7170 if : (success() || failure()) && needs.spelling.outputs.followup && github.event_name == 'push'
7271 steps :
73- - name : comment
74- uses : check-spelling/check-spelling@main
75- with :
76- checkout : true
77- spell_check_this : software-mansion-labs /react-native-audio-api@main
78- task : ${{ needs.spelling.outputs.followup }}
72+ - name : comment
73+ uses : check-spelling/check-spelling@main
74+ with :
75+ checkout : true
76+ spell_check_this : software-mansion/react-native-audio-api@main
77+ task : ${{ needs.spelling.outputs.followup }}
7978
8079 comment-pr :
8180 name : Report (PR)
@@ -87,13 +86,13 @@ jobs:
8786 pull-requests : write
8887 if : (success() || failure()) && needs.spelling.outputs.followup && contains(github.event_name, 'pull_request')
8988 steps :
90- - name : comment
91- uses : check-spelling/check-spelling@main
92- with :
93- checkout : true
94- spell_check_this : software-mansion-labs /react-native-audio-api@main
95- task : ${{ needs.spelling.outputs.followup }}
96- experimental_apply_changes_via_bot : 1
89+ - name : comment
90+ uses : check-spelling/check-spelling@main
91+ with :
92+ checkout : true
93+ spell_check_this : software-mansion/react-native-audio-api@main
94+ task : ${{ needs.spelling.outputs.followup }}
95+ experimental_apply_changes_via_bot : 1
9796
9897 update :
9998 name : Update PR
@@ -103,17 +102,17 @@ jobs:
103102 actions : read
104103 runs-on : ubuntu-latest
105104 if : ${{
106- github.event_name == 'issue_comment' &&
107- github.event.issue.pull_request &&
108- contains(github.event.comment.body, '@check-spelling-bot apply')
105+ github.event_name == 'issue_comment' &&
106+ github.event.issue.pull_request &&
107+ contains(github.event.comment.body, '@check-spelling-bot apply')
109108 }}
110109 concurrency :
111110 group : spelling-update-${{ github.event.issue.number }}
112111 cancel-in-progress : false
113112 steps :
114- - name : apply spelling updates
115- uses : check-spelling/check-spelling@main
116- with :
117- experimental_apply_changes_via_bot : 1
118- checkout : true
119- ssh_key : " ${{ secrets.CHECK_SPELLING }}"
113+ - name : apply spelling updates
114+ uses : check-spelling/check-spelling@main
115+ with :
116+ experimental_apply_changes_via_bot : 1
117+ checkout : true
118+ ssh_key : ' ${{ secrets.CHECK_SPELLING }}'
0 commit comments