Files
ansible-role-sudo/.gitea/workflows/ansible-linters.yml
T
CSRBot a0d55b9f5f
Ansible Linter / ansible-lint (push) Successful in 2m16s
Ansible Linter / ansible-lint (pull_request) Successful in 2m19s
Lint Markdown files / markdown-lint (push) Successful in 13s
Lint Markdown files / markdown-lint (pull_request) Successful in 12s
Molecule / Molecule (push) Successful in 4m40s
Molecule / Molecule (pull_request) Failing after 13m16s
chore(deps): update ansible/ansible-lint action to v26.11.1
2026-11-25 11:13:09 +00:00

26 lines
704 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@b5609548ec49df35aabb89b6cb71de8f398cd195 # v26.11.1
with:
args: "--config-file .ansible-lint.yml"
# 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"