From e15a4dc174afa34173cce5a355d53f5b973f2dca Mon Sep 17 00:00:00 2001 From: Gabo Date: Sun, 21 Jun 2020 18:41:24 -0500 Subject: [PATCH 01/10] Add check spelling workflow test bucket variable Add empty expect words add procjet varaible Add excludes file add patters for urls Add newline at eof Changing lorem ipsum for proper words Add admiralawkbar to expected words Exclude lint templates files Add api apk and ansible as expected words add expected words for cleanup-docker.sh add expected words for ghe-config-apply.sh Fix add-ons spelling Add a bunch new words Simpler url pattern Use common baz word Fix coffeescript spelling Add expected words for ghe-api-config-apply.yml Add ecpected words for linter.sh Fix Multi-line spelling Add more linter.sh expected words Add a whole lot of expected words Add pattern for repeated single char Add space Add expected words for Dockerfile Add more expected words for ghe-api-config-apply.yml Add expected words for he-initial-configuration.yml Add expected words for ghe-ldap-configuration.yml Move spelling/expect -> spelling/allow Set workflow name Fix @admiralawkbar capitalization Fix requirements spelling Add last docker allow words Add last ghe-config-apply allow words Add last linter.sh allow words add last general allow words Add .gitignore allow words Add main.yml allow words Add settings.json.j2 allow words Add empty expect words Test gitignore.txt Fix patter for repeated chars Add some more allowed words more words Add disabling-linters.md allow words commit --- .automation/cleanup-docker.sh | 2 +- .../coffeescript/coffeescript_bad_1.coffee | 2 +- .../coffeescript/coffeescript_good_1.coffee | 2 +- .automation/test/css/css_bad_01.css | 2 +- .automation/test/perl/perl_bad_1.pl | 2 +- .automation/test/perl/perl_good_1.pl | 2 +- .automation/upload-docker.sh | 2 +- .github/actions/spelling/allow/Dockerfile.txt | 9 + .../spelling/allow/cleanup-docker.sh.txt | 1 + .../spelling/allow/disabling-linters.md.txt | 3 + .../allow/ghe-api-config-apply.yml.txt | 2 + .../spelling/allow/ghe-config-apply.sh.txt | 3 + .../allow/ghe-initial-configuration.yml.txt | 1 + .../allow/ghe-ldap-configuration.yml.txt | 2 + .github/actions/spelling/allow/gitignore.txt | 8 + .github/actions/spelling/allow/linter.sh.txt | 7 + .github/actions/spelling/allow/main.yml.txt | 8 + .../spelling/allow/settings.json.j2.txt | 4 + .github/actions/spelling/allow/words.txt | 159 ++++++++++++++++++ .github/actions/spelling/excludes.txt | 2 + .github/actions/spelling/expect.words.txt | 0 .github/actions/spelling/patterns.txt | 3 + .github/workflows/check-spelling.yml | 47 ++++++ .gitignore | 2 +- docs/disabling-linters.md | 10 +- lib/linter.sh | 4 +- 26 files changed, 274 insertions(+), 15 deletions(-) create mode 100644 .github/actions/spelling/allow/Dockerfile.txt create mode 100644 .github/actions/spelling/allow/cleanup-docker.sh.txt create mode 100644 .github/actions/spelling/allow/disabling-linters.md.txt create mode 100644 .github/actions/spelling/allow/ghe-api-config-apply.yml.txt create mode 100644 .github/actions/spelling/allow/ghe-config-apply.sh.txt create mode 100644 .github/actions/spelling/allow/ghe-initial-configuration.yml.txt create mode 100644 .github/actions/spelling/allow/ghe-ldap-configuration.yml.txt create mode 100644 .github/actions/spelling/allow/gitignore.txt create mode 100644 .github/actions/spelling/allow/linter.sh.txt create mode 100644 .github/actions/spelling/allow/main.yml.txt create mode 100644 .github/actions/spelling/allow/settings.json.j2.txt create mode 100644 .github/actions/spelling/allow/words.txt create mode 100644 .github/actions/spelling/excludes.txt create mode 100644 .github/actions/spelling/expect.words.txt create mode 100644 .github/actions/spelling/patterns.txt create mode 100644 .github/workflows/check-spelling.yml diff --git a/.automation/cleanup-docker.sh b/.automation/cleanup-docker.sh index 131daf6a..b2c96257 100755 --- a/.automation/cleanup-docker.sh +++ b/.automation/cleanup-docker.sh @@ -8,7 +8,7 @@ # Its based on being built from a GitHub Action, but could be easily updated # To be ran in a different medium. # -# PRE-Reqs: +# PRE-Requirements: # - Dockerfile # - System with Docker installed # - Global variables met diff --git a/.automation/test/coffeescript/coffeescript_bad_1.coffee b/.automation/test/coffeescript/coffeescript_bad_1.coffee index 5efeeacb..e388e7cc 100644 --- a/.automation/test/coffeescript/coffeescript_bad_1.coffee +++ b/.automation/test/coffeescript/coffeescript_bad_1.coffee @@ -6,7 +6,7 @@ # `mona echo *` - repeats what you say # # Author: -# admiralAwkbar@github.com +# admiralawkbar@github.com ############################### # Drop Hammer array of images # diff --git a/.automation/test/coffeescript/coffeescript_good_1.coffee b/.automation/test/coffeescript/coffeescript_good_1.coffee index 62f2a4fe..064f850e 100644 --- a/.automation/test/coffeescript/coffeescript_good_1.coffee +++ b/.automation/test/coffeescript/coffeescript_good_1.coffee @@ -6,7 +6,7 @@ # `mona echo *` - repeats what you say # # Author: -# admiralAwkbar@github.com +# admiralawkbar@github.com ############################### # Drop Hammer array of images # diff --git a/.automation/test/css/css_bad_01.css b/.automation/test/css/css_bad_01.css index 3c600b36..6ae90d7e 100644 --- a/.automation/test/css/css_bad_01.css +++ b/.automation/test/css/css_bad_01.css @@ -1,5 +1,5 @@ /* Bad */ -/* Multiline */ +/* Multi-line */ /* Comment */ .selector-3[type="text"] { background: linear-gradient(#FFFFFF, rgba(0, 0, 0, 0.8)); diff --git a/.automation/test/perl/perl_bad_1.pl b/.automation/test/perl/perl_bad_1.pl index e3626f88..7b127b99 100644 --- a/.automation/test/perl/perl_bad_1.pl +++ b/.automation/test/perl/perl_bad_1.pl @@ -1,7 +1,7 @@ #!/usr/bin/perl ################################################################################ ################################################################################ -######### Script action @admiralAwkbar ######################################### +######### Script action @admiralawkbar ######################################### ################################################################################ ############# diff --git a/.automation/test/perl/perl_good_1.pl b/.automation/test/perl/perl_good_1.pl index f35c1409..caca0994 100644 --- a/.automation/test/perl/perl_good_1.pl +++ b/.automation/test/perl/perl_good_1.pl @@ -1,7 +1,7 @@ #!/usr/bin/perl ################################################################################ ################################################################################ -######### Script action @admiralAwkbar ######################################### +######### Script action @admiralawkbar ######################################### ################################################################################ ############# diff --git a/.automation/upload-docker.sh b/.automation/upload-docker.sh index c41adb33..6cddd9de 100755 --- a/.automation/upload-docker.sh +++ b/.automation/upload-docker.sh @@ -9,7 +9,7 @@ # Its based on being built from a GitHub Action, but could be easily updated # To be ran in a different medium. # -# PRE-Reqs: +# PRE-Requirements: # - Dockerfile # - System with Docker installed # - Global variables met diff --git a/.github/actions/spelling/allow/Dockerfile.txt b/.github/actions/spelling/allow/Dockerfile.txt new file mode 100644 index 00000000..60348227 --- /dev/null +++ b/.github/actions/spelling/allow/Dockerfile.txt @@ -0,0 +1,9 @@ +musl +nvq +rdoc +setuptools +uninstall +Jv +wget +WORKDIR +xzf diff --git a/.github/actions/spelling/allow/cleanup-docker.sh.txt b/.github/actions/spelling/allow/cleanup-docker.sh.txt new file mode 100644 index 00000000..1efe4ad7 --- /dev/null +++ b/.github/actions/spelling/allow/cleanup-docker.sh.txt @@ -0,0 +1 @@ +alnum diff --git a/.github/actions/spelling/allow/disabling-linters.md.txt b/.github/actions/spelling/allow/disabling-linters.md.txt new file mode 100644 index 00000000..fe1303c8 --- /dev/null +++ b/.github/actions/spelling/allow/disabling-linters.md.txt @@ -0,0 +1,3 @@ +noqa +toc +todo diff --git a/.github/actions/spelling/allow/ghe-api-config-apply.yml.txt b/.github/actions/spelling/allow/ghe-api-config-apply.yml.txt new file mode 100644 index 00000000..8d39ee0b --- /dev/null +++ b/.github/actions/spelling/allow/ghe-api-config-apply.yml.txt @@ -0,0 +1,2 @@ +configcheck +nohup diff --git a/.github/actions/spelling/allow/ghe-config-apply.sh.txt b/.github/actions/spelling/allow/ghe-config-apply.sh.txt new file mode 100644 index 00000000..c35c2e96 --- /dev/null +++ b/.github/actions/spelling/allow/ghe-config-apply.sh.txt @@ -0,0 +1,3 @@ +aef +args +pid diff --git a/.github/actions/spelling/allow/ghe-initial-configuration.yml.txt b/.github/actions/spelling/allow/ghe-initial-configuration.yml.txt new file mode 100644 index 00000000..a09f0564 --- /dev/null +++ b/.github/actions/spelling/allow/ghe-initial-configuration.yml.txt @@ -0,0 +1 @@ +initialconfig diff --git a/.github/actions/spelling/allow/ghe-ldap-configuration.yml.txt b/.github/actions/spelling/allow/ghe-ldap-configuration.yml.txt new file mode 100644 index 00000000..04b1c12f --- /dev/null +++ b/.github/actions/spelling/allow/ghe-ldap-configuration.yml.txt @@ -0,0 +1,2 @@ +ldapconfig +openldap diff --git a/.github/actions/spelling/allow/gitignore.txt b/.github/actions/spelling/allow/gitignore.txt new file mode 100644 index 00000000..6fcb9a9c --- /dev/null +++ b/.github/actions/spelling/allow/gitignore.txt @@ -0,0 +1,8 @@ +cov +eslintcache +jscoverage +jspm +nyc +tgz +typings +wscript diff --git a/.github/actions/spelling/allow/linter.sh.txt b/.github/actions/spelling/allow/linter.sh.txt new file mode 100644 index 00000000..9bd25b2f --- /dev/null +++ b/.github/actions/spelling/allow/linter.sh.txt @@ -0,0 +1,7 @@ +cw +Mstrict +printenv +rcfile +tf +tolower +whoami diff --git a/.github/actions/spelling/allow/main.yml.txt b/.github/actions/spelling/allow/main.yml.txt new file mode 100644 index 00000000..877e71bb --- /dev/null +++ b/.github/actions/spelling/allow/main.yml.txt @@ -0,0 +1,8 @@ +Autobots +basemap +cas +cn +crt +rsa +tlsv +tmp diff --git a/.github/actions/spelling/allow/settings.json.j2.txt b/.github/actions/spelling/allow/settings.json.j2.txt new file mode 100644 index 00000000..7f01269b --- /dev/null +++ b/.github/actions/spelling/allow/settings.json.j2.txt @@ -0,0 +1,4 @@ +dotcom +identicons +oauth +timezone diff --git a/.github/actions/spelling/allow/words.txt b/.github/actions/spelling/allow/words.txt new file mode 100644 index 00000000..0995f947 --- /dev/null +++ b/.github/actions/spelling/allow/words.txt @@ -0,0 +1,159 @@ +admiralawkbar +ansible +api +apk +aws +baz +beardofedu +certs +changeset +codebase +CODEOWNERS +coffeelint +coffeescript +collectd +concat +config +configs +css +dest +devops +dirname +dockerfile +dockerfilelint +dockerfilelintrc +dotenv +elif +emails +entrypoint +Errorf +eslint +eslintrc +filetype +func +gcc +getenv +ghe +GHES +ghl +github +globals +golang +golangci +Google +gpg +gql +Grafana +graphql +grep +homepage +hookshot +hostname +hostvars +http +https +hubot +idp +ip +Jani +javascript +jq +json +jsonlint +jwiebalk +JWT +ldap +len +lfs +libxml +linted +linting +Lk +loadbalancer +localhost +loglevel +markdownlint +millis +mkdir +nodejs +NONINFRINGEMENT +noproxy +noreply +npm +ntp +opensource +opensourcefriday +perl +plugin +posix +pprint +Prego +prettyjson +Println +probot +px +py +pylint +rb +readlines +README +regex +regexp +resqued +rgba +rien +Rubo +rubocop +saml +screenshots +shellcheck +signup +smtp +snmp +socio +splunk +src +ssh +ssl +sso +stackoverflow +stacktraces +standardjs +stringify +stylelint +stylelintrc +subdomain +subfolders +sudo +sys +syslog +taz +terraform +tflint +tileserver +tls +typeof +ubuntu +udp +uid +undef +uniq +uri +url +urlencode +username +usr +utils +Vape +vnd +webhook +wiki +wildcards +workflow +xml +xmllint +yaml +yamllint +yml +yq +zkoppert diff --git a/.github/actions/spelling/excludes.txt b/.github/actions/spelling/excludes.txt new file mode 100644 index 00000000..549b89c5 --- /dev/null +++ b/.github/actions/spelling/excludes.txt @@ -0,0 +1,2 @@ +^\.github/linters/ +^TEMPLATES/\.\S* diff --git a/.github/actions/spelling/expect.words.txt b/.github/actions/spelling/expect.words.txt new file mode 100644 index 00000000..e69de29b diff --git a/.github/actions/spelling/patterns.txt b/.github/actions/spelling/patterns.txt new file mode 100644 index 00000000..80fbc23b --- /dev/null +++ b/.github/actions/spelling/patterns.txt @@ -0,0 +1,3 @@ +https?:\S* +# ignore long runs of a single character: +([A-Za-z])\1{3,} diff --git a/.github/workflows/check-spelling.yml b/.github/workflows/check-spelling.yml new file mode 100644 index 00000000..91cb6fd6 --- /dev/null +++ b/.github/workflows/check-spelling.yml @@ -0,0 +1,47 @@ +--- +#################### +## Check spelling ## +#################### + +# +# Documentation: +# https://help.github.com/en/articles/workflow-syntax-for-github-actions +# + +name: Spell checking +############################# +# Start the job on all push # +############################# +on: + push: + branches-ignore: + - 'master' + +############### +# Set the Job # +############### +jobs: + build: + # Name the Job + name: Spell checking + # Set the agent to run on + runs-on: ubuntu-latest + ################## + # Load all steps # + ################## + steps: + ########################## + # Checkout the code base # + ########################## + - name: Checkout Code + uses: actions/checkout@v2 + + ############################# + # Run check spelling action # + ############################# + - name: Check spelling + uses: check-spelling/check-spelling@0.0.16-alpha + with: + bucket: .github/actions + project: spelling + diff --git a/.gitignore b/.gitignore index ad46b308..0c70da66 100644 --- a/.gitignore +++ b/.gitignore @@ -29,7 +29,7 @@ bower_components # node-waf configuration .lock-wscript -# Compiled binary addons (https://nodejs.org/api/addons.html) +# Compiled binary add-ons (https://nodejs.org/api/addons.html) build/Release # Dependency directories diff --git a/docs/disabling-linters.md b/docs/disabling-linters.md index b972d31c..84107452 100644 --- a/docs/disabling-linters.md +++ b/docs/disabling-linters.md @@ -154,9 +154,9 @@ This line is waaaaaaaaaay too long # yamllint disable-line ### Yamllint disable code block ```yml # yamllint disable rule:colons -- Lorem : ipsum - dolor : sit amet, - consectetur : adipiscing elit +- Key : value + dolor : sit, + foo : bar # yamllint enable ``` @@ -220,9 +220,9 @@ class Foo(object): def meth3(self): """test one line disabling""" # no error - print(self.bla) # pylint: disable=no-member + print(self.baz) # pylint: disable=no-member # error - print(self.blop) + print(self.baz) ``` ### Pylint disable entire file diff --git a/lib/linter.sh b/lib/linter.sh index 45fd2ecf..c3d4be97 100755 --- a/lib/linter.sh +++ b/lib/linter.sh @@ -3,7 +3,7 @@ ################################################################################ ################################################################################ -########### Super-Linter (Lint all the code) @AdmiralAwkbar #################### +########### Super-Linter (Lint all the code) @Admiralawkbar #################### ################################################################################ ################################################################################ @@ -27,7 +27,7 @@ RUBY_FILE_NAME='.ruby-lint.yml' # Name of th RUBY_LINTER_RULES="$DEFAULT_RULES_LOCATION/$RUBY_FILE_NAME" # Path to the ruby lint rules # Coffee Vars COFFEE_FILE_NAME='.coffee-lint.json' # Name of the file -COFFEESCRIPT_LINTER_RULES="$DEFAULT_RULES_LOCATION/$COFFEE_FILE_NAME" # Path to the coffescript lint rules +COFFEESCRIPT_LINTER_RULES="$DEFAULT_RULES_LOCATION/$COFFEE_FILE_NAME" # Path to the coffeescript lint rules # Javascript Vars JAVASCRIPT_FILE_NAME='.eslintrc.yml' # Name of the file JAVASCRIPT_LINTER_RULES="$DEFAULT_RULES_LOCATION/$JAVASCRIPT_FILE_NAME" # Path to the Javascript lint rules From fa6bad1cd9b99a116a8178a0e395ab67fc505efa Mon Sep 17 00:00:00 2001 From: Gabo Date: Tue, 23 Jun 2020 16:48:01 -0500 Subject: [PATCH 02/10] Fixing grammar --- .../test/ansible/ghe-initialize/templates/ghe-config-apply.sh | 4 ++-- .automation/test/markdown/markdown_bad_1.md | 2 +- .automation/test/markdown/markdown_good_1.md | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.automation/test/ansible/ghe-initialize/templates/ghe-config-apply.sh b/.automation/test/ansible/ghe-initialize/templates/ghe-config-apply.sh index 06e2e712..821a7678 100644 --- a/.automation/test/ansible/ghe-initialize/templates/ghe-config-apply.sh +++ b/.automation/test/ansible/ghe-initialize/templates/ghe-config-apply.sh @@ -35,7 +35,7 @@ CheckGHEPid() ################################################ if [ ! -f "$GHE_CONFIG_PID" ]; then # File not found - echo "Were good to move forward, no .pid file found at:[$GHE_CONFIG_PID]" + echo "We're good to move forward, no .pid file found at:[$GHE_CONFIG_PID]" else # Found the pid running, need to sleep echo "Current PID found, sleeping $SLEEP_SECONDS seconds before next check..." @@ -190,7 +190,7 @@ CheckGHEProcess RunConfigApply ########################################## -# Were going to run it again after a nap # +# We're going to run it again after a nap # # to make sure there is no crazy actions # ########################################## sleep 300s diff --git a/.automation/test/markdown/markdown_bad_1.md b/.automation/test/markdown/markdown_bad_1.md index 47aa18af..6599ac74 100644 --- a/.automation/test/markdown/markdown_bad_1.md +++ b/.automation/test/markdown/markdown_bad_1.md @@ -16,5 +16,5 @@ ls -la # Walk away -Were all done **here**. +We're all done **here**. - [Link Action]https://github.com diff --git a/.automation/test/markdown/markdown_good_1.md b/.automation/test/markdown/markdown_good_1.md index 5634a455..7a0aef45 100644 --- a/.automation/test/markdown/markdown_good_1.md +++ b/.automation/test/markdown/markdown_good_1.md @@ -16,5 +16,5 @@ ls -la ### Walk away -Were all done **here**. +We're all done **here**. - [Link Action](https://github.com) From 50053383e03fad37a91013f105afa869c8dda048 Mon Sep 17 00:00:00 2001 From: Gabo Date: Tue, 23 Jun 2020 16:59:50 -0500 Subject: [PATCH 03/10] Fix patter for cli args --- .github/actions/spelling/allow/Dockerfile.txt | 2 -- .github/actions/spelling/allow/ghe-config-apply.sh.txt | 1 - .github/actions/spelling/allow/words.txt | 1 - .github/actions/spelling/patterns.txt | 2 ++ 4 files changed, 2 insertions(+), 4 deletions(-) diff --git a/.github/actions/spelling/allow/Dockerfile.txt b/.github/actions/spelling/allow/Dockerfile.txt index 60348227..bb490a92 100644 --- a/.github/actions/spelling/allow/Dockerfile.txt +++ b/.github/actions/spelling/allow/Dockerfile.txt @@ -3,7 +3,5 @@ nvq rdoc setuptools uninstall -Jv wget WORKDIR -xzf diff --git a/.github/actions/spelling/allow/ghe-config-apply.sh.txt b/.github/actions/spelling/allow/ghe-config-apply.sh.txt index c35c2e96..0570567b 100644 --- a/.github/actions/spelling/allow/ghe-config-apply.sh.txt +++ b/.github/actions/spelling/allow/ghe-config-apply.sh.txt @@ -1,3 +1,2 @@ -aef args pid diff --git a/.github/actions/spelling/allow/words.txt b/.github/actions/spelling/allow/words.txt index 0995f947..0e91754b 100644 --- a/.github/actions/spelling/allow/words.txt +++ b/.github/actions/spelling/allow/words.txt @@ -68,7 +68,6 @@ lfs libxml linted linting -Lk loadbalancer localhost loglevel diff --git a/.github/actions/spelling/patterns.txt b/.github/actions/spelling/patterns.txt index 80fbc23b..56512e46 100644 --- a/.github/actions/spelling/patterns.txt +++ b/.github/actions/spelling/patterns.txt @@ -1,3 +1,5 @@ https?:\S* # ignore long runs of a single character: ([A-Za-z])\1{3,} +# Any CLI args (-xzf -aef) +\ -\w+\b From 5147b5a8ad48c9c1ac1f391d70ffb1b8ad69761d Mon Sep 17 00:00:00 2001 From: Gabo Date: Tue, 23 Jun 2020 17:09:57 -0500 Subject: [PATCH 04/10] Add pattern for hex colors --- .github/actions/spelling/patterns.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/actions/spelling/patterns.txt b/.github/actions/spelling/patterns.txt index 56512e46..9497a00e 100644 --- a/.github/actions/spelling/patterns.txt +++ b/.github/actions/spelling/patterns.txt @@ -3,3 +3,5 @@ https?:\S* ([A-Za-z])\1{3,} # Any CLI args (-xzf -aef) \ -\w+\b +# Hex colors (dummy group to not be treated as comment) +(#)([A-Fa-f0-9]{6}|[A-Fa-f0-9]{3}) From bfaad59af07f17903e0fb9b2952f0e4a90684466 Mon Sep 17 00:00:00 2001 From: Gabo Date: Tue, 23 Jun 2020 17:26:07 -0500 Subject: [PATCH 05/10] use non capturing group for hex regex --- .github/actions/spelling/patterns.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/actions/spelling/patterns.txt b/.github/actions/spelling/patterns.txt index 9497a00e..5c595e9b 100644 --- a/.github/actions/spelling/patterns.txt +++ b/.github/actions/spelling/patterns.txt @@ -4,4 +4,4 @@ https?:\S* # Any CLI args (-xzf -aef) \ -\w+\b # Hex colors (dummy group to not be treated as comment) -(#)([A-Fa-f0-9]{6}|[A-Fa-f0-9]{3}) +(?:#)([A-Fa-f0-9]{6}|[A-Fa-f0-9]{3}) From 9b6af3d52baa1295e9b85524d750b6df1405e920 Mon Sep 17 00:00:00 2001 From: Gabo Date: Tue, 23 Jun 2020 17:34:16 -0500 Subject: [PATCH 06/10] Fix expect file name comm --- .github/actions/spelling/expect.txt | 1 + .github/actions/spelling/expect.words.txt | 0 2 files changed, 1 insertion(+) create mode 100644 .github/actions/spelling/expect.txt delete mode 100644 .github/actions/spelling/expect.words.txt diff --git a/.github/actions/spelling/expect.txt b/.github/actions/spelling/expect.txt new file mode 100644 index 00000000..8b137891 --- /dev/null +++ b/.github/actions/spelling/expect.txt @@ -0,0 +1 @@ + diff --git a/.github/actions/spelling/expect.words.txt b/.github/actions/spelling/expect.words.txt deleted file mode 100644 index e69de29b..00000000 From a22335bd62d4362b2631d2204f607a275179758a Mon Sep 17 00:00:00 2001 From: Gabo Date: Wed, 24 Jun 2020 11:47:18 -0500 Subject: [PATCH 07/10] Fix alignment --- .../ansible/ghe-initialize/templates/ghe-config-apply.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.automation/test/ansible/ghe-initialize/templates/ghe-config-apply.sh b/.automation/test/ansible/ghe-initialize/templates/ghe-config-apply.sh index 821a7678..7978c630 100644 --- a/.automation/test/ansible/ghe-initialize/templates/ghe-config-apply.sh +++ b/.automation/test/ansible/ghe-initialize/templates/ghe-config-apply.sh @@ -189,10 +189,10 @@ CheckGHEProcess #################### RunConfigApply -########################################## +########################################### # We're going to run it again after a nap # -# to make sure there is no crazy actions # -########################################## +# to make sure there is no crazy actions # +########################################### sleep 300s ###################### From 3333b232491061152e9840df4b0c669d533bf6fb Mon Sep 17 00:00:00 2001 From: Gabo Date: Wed, 24 Jun 2020 11:47:47 -0500 Subject: [PATCH 08/10] Fix @admiralawkbar capitalization --- lib/linter.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/linter.sh b/lib/linter.sh index c3d4be97..5c9db08f 100755 --- a/lib/linter.sh +++ b/lib/linter.sh @@ -3,7 +3,7 @@ ################################################################################ ################################################################################ -########### Super-Linter (Lint all the code) @Admiralawkbar #################### +########### Super-Linter (Lint all the code) @admiralawkbar #################### ################################################################################ ################################################################################ From 78e5cd25526efdfcd71c3b8215d7a8acfad4fbe4 Mon Sep 17 00:00:00 2001 From: Zack Koppert Date: Wed, 24 Jun 2020 16:22:44 -0700 Subject: [PATCH 09/10] add github token Co-authored-by: Josh Soref --- .github/workflows/check-spelling.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/check-spelling.yml b/.github/workflows/check-spelling.yml index 91cb6fd6..b99524b0 100644 --- a/.github/workflows/check-spelling.yml +++ b/.github/workflows/check-spelling.yml @@ -44,4 +44,5 @@ jobs: with: bucket: .github/actions project: spelling - + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} From 097d6b4737d90e629300d459bf1a911c53644e0d Mon Sep 17 00:00:00 2001 From: Zack Koppert Date: Wed, 24 Jun 2020 16:49:11 -0700 Subject: [PATCH 10/10] Add words to the spelling dictionary that are not mispelled Signed-off-by: Zack Koppert --- .github/actions/spelling/expect.txt | 40 ++++++++++++++++++++++++++++- 1 file changed, 39 insertions(+), 1 deletion(-) diff --git a/.github/actions/spelling/expect.txt b/.github/actions/spelling/expect.txt index 8b137891..64d9960d 100644 --- a/.github/actions/spelling/expect.txt +++ b/.github/actions/spelling/expect.txt @@ -1 +1,39 @@ - +cdxml +changelog +chmod +Dockerhub +EOL +GPR +IAm +icu +jre +kotlin +krb +ktlint +libgcc +libintl +libssl +libstdc +linux +lttng +microsoft +ncurses +nq +openjdk +php +powershell +println +psd +psm +psrc +pssc +psscriptanalyzer +pwsh +rcu +rhc +ry +terminfo +tzdata +userspace +xargs +zlib