Skip to content

Update ansible-lint.yml #1969

Update ansible-lint.yml

Update ansible-lint.yml #1969

Workflow file for this run

name: Ansible Lint # feel free to pick your own name
on:
pull_request:
branches:
- main
- release-1.4
- release-1.4.0.1
- release-1.4.1
- release-1.4.2
- devel-1.4.2
- devel-1.4.2.1
- devel-1.4.2.2
- devel-1.5
- release-1.5.1
- release-1.6
- release-1.7
- staging
- release-1.7.1
- pub/new_architecture
jobs:
build:
name: Ansible Lint # Naming the build is important to use it as a status check
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Install Ansible collections
run: |
python3 -m pip install --upgrade pip
pip install ansible
ansible-galaxy collection install community.general
- name: Run ansible-lint
uses: ansible/[email protected]
with:
args: --config=.config/ansible-lint.yml