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

add spellchecking with codespell #151

Merged
merged 2 commits into from
May 2, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
12 changes: 12 additions & 0 deletions .github/workflows/codespell.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
---
name: Codespell - Spellcheck

on: # yamllint disable-line rule:truthy
push:
branches: [master]
pull_request:
branches: [master]

jobs:
codespell:
uses: "dev-sec/.github/.github/workflows/codespell.yml@main"
2 changes: 1 addition & 1 deletion controls/4_2_configure_logging.rb
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@
end
end

# Check the new RainerScript format in addtion to the 'legacy' rsyslog syntax
# Check the new RainerScript format in addition to the 'legacy' rsyslog syntax
# which is documented as 'obsolete'
# ref: https://www.rsyslog.com/doc/v8-stable/configuration/modules/omfile.html#filecreatemode
new_rsyslog_conf = command('grep -orE \'FileCreateMode="[0-7]{4}"\' /etc/rsyslog.*').stdout
Expand Down