2024-08-22 22:45:13 +02:00
|
|
|
name: ansible-lint
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
branches: [ master ]
|
|
|
|
pull_request:
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
ansible-lint:
|
|
|
|
steps:
|
|
|
|
- name: Checkout code
|
2024-08-23 02:07:07 +02:00
|
|
|
uses: actions/checkout@v4
|
2024-08-22 22:45:13 +02:00
|
|
|
|
|
|
|
- name: write vault-pass
|
|
|
|
run: echo ${{ secrets.VAULTPASS }} > ./vault-pass
|
|
|
|
|
|
|
|
- name: run ansible-lint
|
|
|
|
uses: docker://registry.mgrote.net/ansible-devspace:latest
|
|
|
|
with:
|
|
|
|
args: ansible-lint --force-color --format pep8 --show-relpath
|
|
|
|
|
|
|
|
# VAULTPASS ist als Secrets auf Repo-Ebene angelegt
|