11 lines
264 B
YAML
11 lines
264 B
YAML
when:
|
|
- event: [pull_request, push]
|
|
branch: [main]
|
|
|
|
steps:
|
|
- name: ansible-lint
|
|
image: ghcr.io/ansible/community-ansible-dev-tools:latest
|
|
commands:
|
|
- git config --global --add safe.directory "$CI_WORKSPACE"
|
|
- ansible-lint --force-color
|