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