homeserver/.gitea/workflows/ansible-lint.yaml
Michael Grote b0f28d7f9a
All checks were successful
ansible-lint / ansible-lint (pull_request) Successful in 43s
gitleaks / gitleaks (pull_request) Successful in 5s
dd
2024-08-22 22:03:00 +02:00

28 lines
778 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.event.pull_request.number || 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