Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OSOE-158: Evaluate using the Check Spelling action #27

Merged
merged 185 commits into from
Oct 24, 2022
Merged
Show file tree
Hide file tree
Changes from 179 commits
Commits
Show all changes
185 commits
Select commit Hold shift + click to select a range
cea7efb
Adding bases for workflows
Jul 19, 2022
68c8dd2
Fixing workflow call
Jul 19, 2022
1f2021d
Fixing indentation
Jul 19, 2022
303bed1
Fixing indentation
Jul 19, 2022
06f3c66
Fixing workflow call
Jul 19, 2022
079d5c8
Trying to run basic workflow
Jul 19, 2022
0619f9f
Trying to run basic workflow
Jul 19, 2022
4d58411
Trying to run basic workflow
Jul 19, 2022
d82be80
Trying to run basic workflow
Jul 19, 2022
b15bce1
Merge remote-tracking branch 'origin/dev' into issue/OSOE-158
Jul 22, 2022
f5a66c2
Trying to tackle problem for another perspective
Jul 22, 2022
27af63e
Trying to tackle problem for another perspective 3
Jul 22, 2022
7ae4147
Fix indentation
Jul 22, 2022
d0a2875
Fix
Jul 22, 2022
66d3c25
Fix
Jul 22, 2022
eb0d0a2
Adding some config
Jul 28, 2022
d300f77
Fix directory
Jul 28, 2022
4ee66c9
Fixing directory?
Jul 28, 2022
6f04eba
Fixing directory?
Jul 28, 2022
2fb4748
Trying config again
Jul 28, 2022
2eaf572
Trying config again
Jul 28, 2022
92b542f
Adding extra directiories
Jul 28, 2022
098f88f
Try path
Jul 28, 2022
0c9dd2e
full path
Jul 28, 2022
919456a
Is this a directory then?
Jul 28, 2022
0a781f3
Try path
Jul 28, 2022
e4b1a7e
Testing config
Jul 28, 2022
27b43d7
Merge remote-tracking branch 'origin/dev' into issue/OSOE-158
Sep 8, 2022
7654022
Using concrete version.
Sep 8, 2022
0792692
More config
Sep 8, 2022
0e52477
Cleanup
Sep 8, 2022
69e2e33
Copy config file
Sep 8, 2022
9586c4c
Adding copy step
Sep 8, 2022
e0fb331
Testing dictionary
Sep 12, 2022
3871311
Merge remote-tracking branch 'origin/dev' into issue/OSOE-158
Sep 12, 2022
fee1a1d
?
Sep 12, 2022
0e7e268
Fixing
Sep 12, 2022
0cb645c
Trying to configure
Sep 12, 2022
b36fc1c
Trying case sensivity
Sep 13, 2022
d1ebefb
Adding newline
Sep 13, 2022
fe7857b
Adding reusable configuration to GHA
Sep 13, 2022
8f93e51
Correcting indentation
Sep 13, 2022
4a60dd3
Using ps
Sep 13, 2022
fc7f2f9
Using ps
Sep 13, 2022
7c934fe
Use ps?
Sep 13, 2022
67bdc00
Use ps!
Sep 13, 2022
e20b469
Adding copy action
Sep 13, 2022
63ef7c2
Using correct path
Sep 13, 2022
2db441d
Where is the file?
Sep 13, 2022
17287a5
Where is the file??
Sep 13, 2022
73063a1
Trying to copy something
Sep 13, 2022
cdb9144
Trying to copy something
Sep 13, 2022
4b146b2
Listing directories
Sep 13, 2022
95e2edd
Listing directories
Sep 13, 2022
3c9a2b5
Figuring out how this works
Sep 13, 2022
ae9b777
Listing directories
Sep 13, 2022
4448a7c
Test
Sep 13, 2022
490c552
Checkout submodules too
Sep 13, 2022
7dbac87
Finalizing
Luko6 Sep 14, 2022
4df2e35
Modifying workflows
Sep 14, 2022
7e76276
Merge branch 'issue/OSOE-158' of https://github.com/Lombiq/GitHub-Act…
Luko6 Sep 14, 2022
4c6c9ee
Modify workflow
Sep 14, 2022
c5652ef
Adding config files.
Luko6 Sep 14, 2022
87d7c7b
Adding false positives and fixing spelling mistake.
Luko6 Sep 14, 2022
8aff49a
Adding configuration to the right file too.
Luko6 Sep 14, 2022
ecc8f36
Removing expectations
Luko6 Sep 14, 2022
83e64f6
Using specific commit
Sep 15, 2022
f0cda07
Apply suggestions from code review
Luko6 Sep 15, 2022
df22295
Removing bad code
Sep 15, 2022
0f0070e
Merge branch 'issue/OSOE-158' of https://github.com/Lombiq/GitHub-Act…
Sep 15, 2022
d705bcf
Using kebab case
Sep 15, 2022
3f11d48
Improving action
Sep 15, 2022
826cd17
Improving documentation
Sep 15, 2022
1737844
Using kebab case correctly
Sep 15, 2022
67f78f2
Trying without submodule checkout
Sep 15, 2022
86578a4
Experimental changes
Sep 15, 2022
4840e29
Configuring action
Sep 15, 2022
fb872da
Minor changes
Sep 15, 2022
0ab64ef
Merge remote-tracking branch 'origin/dev' into issue/OSOE-158
Sep 19, 2022
a253923
Trying to utilize github.action_path
Sep 19, 2022
79baed2
Printing location
Sep 19, 2022
e7abf3d
List child items
Sep 19, 2022
e888d17
Names only
Sep 19, 2022
194ae0e
Testing alternative route
Sep 19, 2022
5a82ca2
Testing alternative route
Sep 19, 2022
525439e
Updating patterns
Sep 19, 2022
ac67124
Updating route
Sep 19, 2022
dbe4a7a
Adding config to the actions
Sep 19, 2022
44c47f3
Correctly indenting
Sep 19, 2022
28130c3
Fixing input
Sep 19, 2022
e7b4acf
Removing unnecessary code
Sep 19, 2022
fea2ec3
Printing information
Sep 19, 2022
901d55d
Updating excludes
Sep 19, 2022
c1d4161
Adding dummy file
Sep 19, 2022
3f25443
Testing theory
Sep 19, 2022
a158fac
Moving files
Sep 19, 2022
d4530d0
Trying new configuration
Sep 22, 2022
cd2ad19
Merge remote-tracking branch 'origin/dev' into issue/OSOE-158
Sep 22, 2022
94d4a1c
Trying config
Sep 22, 2022
bb25317
leaving config empty
Sep 22, 2022
45352d4
Trying config
Sep 22, 2022
6df60a3
Valid repo notation?
Sep 22, 2022
e07c35a
Valid repo notation?
Sep 22, 2022
5d119ee
Trying to get an error
Sep 22, 2022
00bb5b0
Using sha
Sep 22, 2022
1e00d19
Fix
Sep 22, 2022
10404e8
Lowercasing
Sep 22, 2022
a6369f4
Renaming file
Sep 23, 2022
d3a4a1c
Improving expect.txt
Sep 23, 2022
26a709f
Updating sha
Sep 23, 2022
937a21c
Updating action version
Sep 23, 2022
8ddc21a
Adding prop
Sep 23, 2022
f380208
Adding an intentional typo
Sep 23, 2022
2cc683b
Removing files
Sep 23, 2022
1fefefb
Adding name for action
Sep 23, 2022
c746287
Removing unused files
Sep 23, 2022
52d7e87
Cleaning up
Sep 23, 2022
d6c9f99
Fixing typo
Sep 23, 2022
469a892
Adding file extensions
Sep 23, 2022
5c77dd0
Removing debug
Sep 23, 2022
f9f52d8
Adding new words
Sep 23, 2022
6fc1911
Refreshing spellings
Sep 23, 2022
d20dad3
Improving documentation
Sep 23, 2022
8f8657e
Update .github/actions/spelling/expect.txt
Luko6 Sep 26, 2022
92217fc
Updating action and doc accordingly
Sep 26, 2022
af5cec8
Merge remote-tracking branch 'origin/issue/OSOE-158' into issue/OSOE-158
Sep 26, 2022
4afdecf
Moving files
Sep 26, 2022
41966bc
Renaming folder to be more default
Sep 26, 2022
19c98f4
Update .github/actions/spelling/action.yml
Luko6 Oct 4, 2022
953b087
Update .github/actions/spelling/action.yml
Luko6 Oct 4, 2022
a24bea3
Merge remote-tracking branch 'origin/dev' into issue/OSOE-158
Oct 4, 2022
1d4da4a
Renaming
Oct 4, 2022
33a680e
Add checkout
Oct 4, 2022
0ddc58a
Renaming action to correct one.
Oct 4, 2022
c03cf7b
Merge remote-tracking branch 'origin/dev' into issue/OSOE-158
Luko6 Oct 13, 2022
219cfe1
Make typo
Luko6 Oct 13, 2022
6b55388
Test
Luko6 Oct 13, 2022
6e51855
Revert Test
Luko6 Oct 13, 2022
353cdfb
Test again
Luko6 Oct 13, 2022
365b781
Revert Test
Luko6 Oct 13, 2022
024ccae
Magic
Luko6 Oct 14, 2022
997ef62
Fixing typo
Oct 14, 2022
64e6841
Merge remote-tracking branch 'origin/dev' into issue/OSOE-158
Oct 14, 2022
e01c781
Modifying git commands
Oct 14, 2022
b68a2d7
Not checking out.
Oct 14, 2022
0e8167c
Switching version
Oct 17, 2022
aeb6362
Merge remote-tracking branch 'origin/dev' into issue/OSOE-158
Oct 17, 2022
f5b4eca
Rename directory
Oct 18, 2022
4d39411
Changing paths
Luko6 Oct 18, 2022
7ff15b5
Add loads of interfaces to expect
Luko6 Oct 18, 2022
460ce99
Fix typo
Luko6 Oct 18, 2022
63e4291
Add link pattern
Luko6 Oct 18, 2022
7da3670
Updating whitelists
Oct 18, 2022
855fd3b
Updating whitelist to reduce false negatives
Oct 18, 2022
42b67db
Update whitelist
Oct 18, 2022
3d9066f
extending whitelist
Oct 18, 2022
62fe61f
extending whitelist
Oct 18, 2022
ecd8b1d
extending whitelist
Oct 18, 2022
f64a875
extending whitelist
Oct 18, 2022
22f3af5
WORK PLS!!!!!4444!4!444!444!!!!
Oct 18, 2022
9ca1055
extending whitelist
Oct 18, 2022
c10c1e3
extending whitelist
Oct 18, 2022
e7cbdf0
Adding new file.
Oct 19, 2022
55c355c
Updating whitelist
Oct 19, 2022
7cf467b
Updating whitelist
Oct 19, 2022
f7d4304
Updating whitelist
Oct 19, 2022
705c0f9
Updating whitelist
Oct 19, 2022
6937de4
Ordering words
Oct 19, 2022
22ad959
Renaming workflow to match action
Oct 19, 2022
3435f8c
Updating whitelist
Oct 19, 2022
4bc49af
Updating whitelist
Oct 19, 2022
5c1b558
Fixing pattern
Oct 19, 2022
967e780
Updating docs
Oct 19, 2022
ff4593f
Merge remote-tracking branch 'origin/dev' into issue/OSOE-158
Oct 20, 2022
fcac03c
Improving code
Oct 20, 2022
12a7aa0
Updating whitelists
Oct 20, 2022
01c73a2
Updating whitelists
Oct 20, 2022
98b7116
Fixing some leftover mistakes
Oct 24, 2022
5daa62e
Merge remote-tracking branch 'origin/dev' into issue/OSOE-158
Oct 24, 2022
47c2e97
Update dict versions
Oct 24, 2022
32a4eb8
Experiment
Oct 24, 2022
7952a56
Experiment again
Oct 24, 2022
59b9996
Update whitelist
Oct 24, 2022
4f09eaa
Ignore PDFs altogether
Piedone Oct 24, 2022
644a3fb
Consistent excludes rules following https://github.com/check-spelling…
Piedone Oct 24, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
49 changes: 49 additions & 0 deletions .github/actions/spelling/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
# This file needs to be present in this exact folder for the workflow using this action to be able to work with submodules.
name: Spelling
description: Checks for spelling errors in files.

inputs:
dictionary-source-prefixes:
description: JSON map of prefixes for dictionary urls, "cspell" is necessary
required: false
default: '{"cspell": "https://raw.githubusercontent.com/check-spelling/cspell-dicts/v20220427/dictionaries/","lombiq": "https://raw.githubusercontent.com/Lombiq/GitHub-Actions/issue/OSOE-158/.github/actions/check-spelling/spelling/"}'
extra-dictionaries:
description: Space delimited list of URLs (or `prefix:`+path) to additional word lists
required: false
default:
cspell:filetypes/filetypes.txt
cspell:django/django.txt
cspell:aws/aws.txt
cspell:html/html.txt
cspell:css/css.txt
cspell:csharp/csharp.txt
cspell:rust/rust.txt
cspell:npm/npm.txt
cspell:dotnet/dotnet.txt
cspell:scala/scala.txt
lombiq:expect.txt
config:
description: Spelling configuration directory
required: false
type: string
default: .github/actions/check-spelling
spell-check-this:
description: Repository with default configuration to use, the default from Check Spelling is ''.
required: false
type: string
default: Lombiq/GitHub-Actions@issue/OSOE-158

runs:
using: "composite"
steps:
- name: Check Spelling
# Prerelease, this commit includes a specific fix we utilize. Use v0.0.21 once available.
uses: check-spelling/check-spelling@86a22cfaff3846dbd788acea5d18cf5db6d40dd1
with:
dictionary_source_prefixes: ${{ inputs.dictionary-source-prefixes }}
extra_dictionaries: ${{ inputs.extra-dictionaries }}
experimental_apply_changes_via_bot: 0
suppress_push_for_open_pull_request: 1
post_comment: 1
spell_check_this: ${{ inputs.spell-check-this }}
config: ${{ inputs.config }}
Loading