Update ansible-lint.yml #1951
Workflow file for this run
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 # 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 | |
- 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: | |
# [required] | |
# Paths to ansible files (i.e., playbooks, tasks, handlers etc..) | |
# or valid Ansible directories according to the Ansible role | |
# directory structure. | |
# If you want to lint multiple ansible files, use the following syntax | |
# targets: | | |
# playbook_1.yml | |
# playbook_2.yml | |
- uses: actions/checkout@v4 | |
- name: Run ansible-lint | |
uses: ansible/[email protected] | |
with: | |
path: . | |