25 lines
611 B
YAML
25 lines
611 B
YAML
---
|
|
name: lint
|
|
on:
|
|
push
|
|
|
|
jobs:
|
|
gitleaks:
|
|
container:
|
|
image: zricethezav/gitleaks:latest
|
|
env:
|
|
TEST_ENV: hallo
|
|
steps:
|
|
- name: gitleaks
|
|
run: gitleaks detect --no-git --verbose --source $GITHUB_WORKSPACE
|
|
|
|
ansible-lint:
|
|
container:
|
|
image: quay.io/ansible/creator-ee
|
|
env:
|
|
VAULT-PASS: ${{ secrets.vault_pass }} # Repo-Secret
|
|
steps:
|
|
- ansible-lint --version
|
|
- echo $VAULT-PASS > ./vault-pass.yml # nach des Secret in Großschreibung
|
|
- ansible-galaxy install -r requirements.yml
|
|
- ansible-lint --force-color --format pep8
|