homeserver/.gitea/workflows/lint.yml
2024-01-25 20:36:13 +01:00

25 lines
631 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:
- run: ansible-lint --version
- run: echo $VAULT-PASS > ./vault-pass.yml # nach des Secret in Großschreibung
- run: ansible-galaxy install -r requirements.yml
- run: ansible-lint --force-color --format pep8