Files
ansible-role-sudo/.gitea/workflows/ansible-linters.yml
T
CSRBot c69f4357bc
Ansible Linter / ansible-lint (pull_request) Successful in 3m24s
Lint Markdown files / markdown-lint (pull_request) Successful in 13s
Lint Markdown files / markdown-lint (push) Successful in 10s
Ansible Linter / ansible-lint (push) Successful in 3m21s
Molecule / Molecule (pull_request) Successful in 6m3s
Molecule / Molecule (push) Successful in 5m52s
chore(deps): update actions/checkout action to v7
2026-09-15 19:15:03 +00:00

26 lines
699 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@665d9e07a1943254d2910faffc106adaf7ea7294 # v26.8.0
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"