Feat(workflows): add lint
All checks were successful
Ansible Playbook lint / ansible-lint (push) Successful in 1m6s
All checks were successful
Ansible Playbook lint / ansible-lint (push) Successful in 1m6s
This commit is contained in:
17
.gitea/workflows/lint.yml
Normal file
17
.gitea/workflows/lint.yml
Normal file
@@ -0,0 +1,17 @@
|
||||
name: Ansible Playbook lint
|
||||
on: [push]
|
||||
|
||||
jobs:
|
||||
ansible-lint:
|
||||
runs-on: imgbuilder
|
||||
container:
|
||||
image: gitea.konchin.com/image/ansible
|
||||
credentials:
|
||||
username: ${{ secrets.REGISTRY_USERNAME }}
|
||||
password: ${{ secrets.REGISTRY_PASSWORD }}
|
||||
steps:
|
||||
- name: Check out repository code
|
||||
uses: actions/checkout@v4
|
||||
- name: Ansible Lint
|
||||
run: |
|
||||
ansible-lint playbooks/ roles/
|
||||
Reference in New Issue
Block a user