Ansible Lint #238
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Ansible Lint | |
on: | |
push: | |
branches: [master] | |
pull_request: | |
branches: [master] | |
schedule: | |
- cron: '0 14 * * 1-5' | |
workflow_dispatch: | |
env: | |
NAMESPACE: zscaler | |
COLLECTION_NAME: zpacloud | |
PYTHON_VERSION: 3.8 | |
jobs: | |
# Ansible-lint is a requirement for certification, and was added to the | |
# certification pipeline 20 June 2023 per Ansible Partner Engineering | |
# communication emails | |
# | |
# Config file is .ansible-lint | |
lint: | |
name: Ansible Lint | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
working-directory: ./ansible_collections/${{ env.NAMESPACE }}/${{ env.COLLECTION_NAME }} | |
steps: | |
- name: Check out code | |
uses: actions/checkout@v4 | |
- name: Run ansible-lint | |
uses: ansible/ansible-lint@main |