Skip to content

Commit

Permalink
ci: Check spelling with codespell
Browse files Browse the repository at this point in the history
* 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 <spetrosi@redhat.com>
  • Loading branch information
spetrosi committed Feb 13, 2025
1 parent 359ba63 commit 6dd8b88
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 2 additions & 0 deletions .codespellrc
Original file line number Diff line number Diff line change
Expand Up @@ -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
3 changes: 1 addition & 2 deletions .github/workflows/tft.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 6dd8b88

Please sign in to comment.