ansible_playbooks/.gitea/workflows/yamllint_and_pass_check.yml
2026-02-24 11:30:35 +03:00

26 lines
505 B
YAML

---
name: YAML Lint
on: [push]
jobs:
yamllint:
runs-on: ubuntu-yamllint
steps:
- name: Checkout linting
uses: actions/checkout@v4
- name: Run yamllint with auto-detected config
run: |
yamllint -c .yamllint .
gitleaks:
runs-on: ubuntu-yamllint
steps:
- name: Checkout passwords leaks
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Run gitleaks
run: gitleaks detect --source . --verbose
...