30 lines
709 B
YAML
30 lines
709 B
YAML
name: ansible-lint
|
|
on:
|
|
workflow_dispatch:
|
|
push:
|
|
branches: [ master ]
|
|
pull_request:
|
|
|
|
jobs:
|
|
ansible-lint:
|
|
name: Ansible Lint
|
|
steps:
|
|
- name: Checkout code
|
|
uses: actions/checkout@v4
|
|
|
|
- name: Run ansible-lint
|
|
uses: docker://zricethezav/gitleaks:v8.18.4
|
|
with:
|
|
args: tmux detach-client; ansible-lint--force-color --format pep8 --show-relpath
|
|
|
|
gitleaks:
|
|
steps:
|
|
- name: Checkout code
|
|
uses: actions/checkout@v4
|
|
|
|
- name: Run Gitleaks
|
|
uses: docker://zricethezav/gitleaks:v8.18.4
|
|
with:
|
|
args: detect --no-git --verbose --source ${{ github.workspace }}
|
|
|
|
# VAULTPASS ist als Secrets auf Repo-Ebene angelegt
|