homeserver/.gitea/workflows/lint.yml
Workflow config file is invalid. Please check your config file: yaml: unmarshal errors: line 22: cannot unmarshal !!str `ansible...` into model.Step line 23: cannot unmarshal !!str `echo $V...` into model.Step line 24: cannot unmarshal !!str `ansible...` into model.Step line 25: cannot unmarshal !!str `ansible...` into model.Step
2024-01-25 20:34:35 +01:00

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