Skip to content

Commit a861079

Browse files
CI fix for 976 (#982)
* exclude plugins/connection/kubectl.py from ansible-lint documentation inside a python file have simplification resolves #976 * Update to use .ansible-lint and ansible-lint@v25.5.0 Signed-off-by: Alina Buzachis <abuzachis@redhat.com> * Update .github/workflows/linters.yaml Signed-off-by: Alina Buzachis <abuzachis@redhat.com> --------- Signed-off-by: Alina Buzachis <abuzachis@redhat.com> Co-authored-by: Alina Buzachis <abuzachis@redhat.com>
1 parent 5148ee5 commit a861079

File tree

4 files changed

+6
-1
lines changed

4 files changed

+6
-1
lines changed

.config/ansible-lint.yml renamed to .ansible-lint

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ profile: production
33

44
exclude_paths:
55
- .ansible/
6+
- .github/
67
- tests/integration
78
- tests/unit
89
- tests/sanity

.ansible-lint-ignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,4 @@
33
plugins/connection/kubectl.py no-changed-when
44
# false positive result
55
plugins/connection/kubectl.py var-naming[no-reserved]
6+
plugins/connection/kubectl.py jinja[invalid]

.github/workflows/linters.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,4 +20,6 @@ jobs:
2020
steps:
2121
- uses: actions/checkout@v4
2222
- name: run-ansible-lint
23-
uses: ansible/ansible-lint@v25.1.2
23+
uses: ansible/ansible-lint@main
24+
with:
25+
gh_action_ref: "v25.5.0"

.yamllint

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,3 +26,4 @@ ignore: |
2626
.tox
2727
.ansible
2828
tests/output
29+
plugins/connection/kubectl.py

0 commit comments

Comments
 (0)