Files
ansible-role-sudo/.gitea/workflows/ansible-linters.yml
T
CSRBot eb4e80cc9a
Ansible Linter / ansible-lint (pull_request) Successful in 6m14s
Lint Markdown files / markdown-lint (pull_request) Successful in 9s
Lint Markdown files / markdown-lint (push) Successful in 12s
Ansible Linter / ansible-lint (push) Successful in 4m44s
Molecule / Molecule (pull_request) Successful in 14m50s
Molecule / Molecule (push) Successful in 29m25s
chore(deps): update ansible/ansible-lint action to v26.10.1
2026-10-13 13:20:53 +00:00

26 lines
700 B
YAML

name: Ansible Linter
on:
pull_request:
types: [ "opened", "reopened", "synchronize" ]
push:
branches: [ '**' ]
tags-ignore: [ '**' ]
permissions:
contents: read
jobs:
ansible-lint:
runs-on:
- ubuntu-latest
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
- name: Run ansible-lint
uses: ansible/ansible-lint@9bce2bfb8f4a984e6b13767bc0d6bf0a49492164 # v26.10.1
with:
args: "--config-file .ansible-lint"
# The molecule scenario is linted as well, so its collections are required beside the ones of the role.
requirements_file: "molecule/default/collections.yml"
setup_python: "true"