homeserver/.gitea/workflows/ansible-lint.yaml
Michael Grote 728c3f3e0b
All checks were successful
ansible-lint / ansible-lint (pull_request) Successful in 51s
gitleaks / gitleaks (pull_request) Successful in 6s
ff
2024-08-22 22:04:51 +02:00

30 lines
743 B
YAML

name: ansible-lint
on:
push:
branches: [ master ]
pull_request:
# https://stackoverflow.com/questions/66335225/how-to-cancel-previous-runs-in-the-pr-when-you-push-new-commitsupdate-the-curre
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
ansible-lint:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- 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