From 6a37008e2b561a586fbf2c4a276f4329b4631ed6 Mon Sep 17 00:00:00 2001 From: Martin Schurz Date: Sun, 30 Apr 2023 21:49:02 +0200 Subject: [PATCH 1/2] add codespell action Signed-off-by: Martin Schurz --- .github/workflows/codespell.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 .github/workflows/codespell.yml diff --git a/.github/workflows/codespell.yml b/.github/workflows/codespell.yml new file mode 100644 index 0000000..aa95ac5 --- /dev/null +++ b/.github/workflows/codespell.yml @@ -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" From 80b5bcbdf17b63997f92cc2a46119ae8f995e70e Mon Sep 17 00:00:00 2001 From: Martin Schurz Date: Sun, 30 Apr 2023 21:49:28 +0200 Subject: [PATCH 2/2] fix spelling errors Signed-off-by: Martin Schurz --- controls/4_2_configure_logging.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/controls/4_2_configure_logging.rb b/controls/4_2_configure_logging.rb index 6de2572..6144660 100644 --- a/controls/4_2_configure_logging.rb +++ b/controls/4_2_configure_logging.rb @@ -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