From 6dd8b88cde72ecea4d20c4ad4527796bda527ee8 Mon Sep 17 00:00:00 2001 From: Sergei Petrosian Date: Thu, 13 Feb 2025 12:01:23 +0100 Subject: [PATCH] ci: Check spelling with codespell * You can ignore words inline by adding a comment like `# codespell:ignore word`. * You can ignore words by adding them to the `.codespell_ignores` file. * You can ignore files and directories by adding them with `skip = ` to the `.codespellrc` file. Signed-off-by: Sergei Petrosian --- .codespellrc | 2 ++ .github/workflows/tft.yml | 3 +-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.codespellrc b/.codespellrc index 8f96f52a..0e0654da 100644 --- a/.codespellrc +++ b/.codespellrc @@ -5,4 +5,6 @@ check-hidden = true ignore-multiline-regex = codespell:ignore-begin.*codespell:ignore-end ignore-words = .codespell_ignores # skip-file is not available https://github.com/codespell-project/codespell/pull/2759 +# .pandoc_template.html5 contains a typo in Licence that we shouldn't edit +# .README.html is generated from README.md automatically - no need to check spelling skip = .pandoc_template.html5,.README.html diff --git a/.github/workflows/tft.yml b/.github/workflows/tft.yml index d7ea9578..684311f7 100644 --- a/.github/workflows/tft.yml +++ b/.github/workflows/tft.yml @@ -180,8 +180,7 @@ jobs: tf_scope: private api_key: ${{ secrets.TF_API_KEY_RH }} update_pull_request_status: false - tmt_hardware: '{ "memory": ">= ${{ needs.prepare_vars.outputs.memory }} MB" }' - tmt_plan_filter: "tag:general,rhc" + tmt_hardware: '{ "memory": ">= ${{ needs.prepare_vars.outputs.memory }} MB" }' tmt_plan_filter: "tag:general,rhc" - name: Set final commit status uses: myrotvorets/set-commit-status-action@master