File tree Expand file tree Collapse file tree 4 files changed +38
-2
lines changed
Expand file tree Collapse file tree 4 files changed +38
-2
lines changed Original file line number Diff line number Diff line change 1+ [codespell]
2+ # Ref: https://github.com/codespell-project/codespell#using-a-config-file
3+ skip = tests,artifacts*,pylintrc
4+ builtin = usage
5+ ignore-multiline-regex = codespell:ignore-begin.*codespell:ignore-end
Original file line number Diff line number Diff line change 1+ # Codespell configuration is within .codespellrc
2+ ---
3+ name : Codespell
4+ on : # yamllint disable-line rule:truthy
5+ - pull_request
6+ permissions :
7+ contents : read
8+ jobs :
9+ codespell :
10+ name : Check for spelling errors
11+ runs-on : ubuntu-latest
12+ steps :
13+ - name : Checkout
14+ uses : actions/checkout@v4
15+
16+ - name : Checkout repo
17+ uses : actions/checkout@v4
18+
19+ - name : Install codespell
20+ run : pip install codespell
21+
22+ - name : Get variable with regex values
23+ id : regexvar
24+ run : |
25+ curl -L -s -o dictionary_usage.txt https://raw.githubusercontent.com/codespell-project/codespell/refs/heads/main/codespell_lib/data/dictionary_usage.txt
26+ regexvar=$(sed 's/->.*//g' dictionary_usage.txt | sed 's/$/|/' | tr -d '\n' | sed 's/.$//')
27+ echo "$regexvar"
28+ echo "regexvar=$regexvar" >> "$GITHUB_OUTPUT"
29+ - name : Run codespell
30+ run : codespell tasks/main.yml --regex "${{ steps.regexvar.outputs.regexvar }}" -C0
Original file line number Diff line number Diff line change @@ -180,7 +180,8 @@ jobs:
180180 tf_scope : private
181181 api_key : ${{ secrets.TF_API_KEY_RH }}
182182 update_pull_request_status : false
183- tmt_hardware : ' { "memory": ">= ${{ needs.prepare_vars.outputs.memory }} MB" }'
183+
184+ tmt_hardware : ' { "memory": ">= ${{ needs.prepare_vars.outputs.memory }} MB", "network": {"type": "eth", "type": "eth"} }'
184185 tmt_plan_filter : " tag:general,network"
185186
186187 - name : Set final commit status
Original file line number Diff line number Diff line change 11# linux-system-roles/network
22
3- [](https://github.com/linux-system-roles/network/actions/workflows/ansible-lint.yml) [](https://github.com/linux-system-roles/network/actions/workflows/ansible-test.yml) [](https://github.com/linux-system-roles/network/actions/workflows/codeql.yml) [](https://github.com/linux-system-roles/network/actions/workflows/integration.yml) [](https://github.com/linux-system-roles/network/actions/workflows/markdownlint.yml) [](https://github.com/linux-system-roles/network/actions/workflows/python-unit-test.yml) [](https://github.com/linux-system-roles/network/actions/workflows/shellcheck.yml) [](https://github.com/linux-system-roles/network/actions/workflows/tft.yml) [](https://github.com/linux-system-roles/network/actions/workflows/tft_citest_bad.yml) [](https://github.com/linux-system-roles/network/actions/workflows/woke.yml) [](https://coveralls.io/github/linux-system-roles/network) [](https://github.com/ambv/black) [](https://lgtm.com/projects/g/linux-system-roles/network/context:python)
3+ [](https://github.com/linux-system-roles/network/actions/workflows/ansible-lint.yml) [](https://github.com/linux-system-roles/network/actions/workflows/ansible-test.yml) [](https://github.com/linux-system-roles/network/actions/workflows/codeql.yml) [](https://github.com/linux-system-roles/network/actions/workflows/codespell.yml) [](https://github.com/linux-system-roles/network/actions/workflows/integration.yml) [](https://github.com/linux-system-roles/network/actions/workflows/markdownlint.yml) [](https://github.com/linux-system-roles/network/actions/workflows/python-unit-test.yml) [](https://github.com/linux-system-roles/network/actions/workflows/shellcheck.yml) [](https://github.com/linux-system-roles/network/actions/workflows/tft.yml) [](https://github.com/linux-system-roles/network/actions/workflows/tft_citest_bad.yml) [](https://github.com/linux-system-roles/network/actions/workflows/woke.yml) [](https://coveralls.io/github/linux-system-roles/network) [](https://github.com/ambv/black) [](https://lgtm.com/projects/g/linux-system-roles/network/context:python)
44
55## Overview
66
You can’t perform that action at this time.
0 commit comments