Skip to content

Commit bb6597e

Browse files
committed
ci: add ansible-lint job
1 parent 5cdf393 commit bb6597e

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

.github/workflows/coding-standards.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,3 +66,20 @@ jobs:
6666
globs: |
6767
**/*.md
6868
!CHANGELOG.md
69+
70+
ansible-linting:
71+
timeout-minutes: 4
72+
runs-on: ubuntu-latest
73+
concurrency:
74+
cancel-in-progress: true
75+
group: ansible-linting-${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
76+
steps:
77+
- name: 📦 Check out the codebase
78+
uses: actions/[email protected]
79+
80+
- name: 🧐 Lint Ansible files
81+
uses: ansible/[email protected]
82+
with:
83+
args: '-c .github/.ansible-lint.yml'
84+
env:
85+
YAML_CONFIG_PATH: '.github/.yamllint.yaml'

0 commit comments

Comments
 (0)