homeserver/.gitea/workflows/ci.yaml

31 lines
734 B
YAML
Raw Normal View History

2024-09-13 18:17:59 +02:00
name: ansible-lint
on:
workflow_dispatch:
2024-09-13 18:19:56 +02:00
push:
2024-09-13 18:17:59 +02:00
branches: [ master ]
pull_request:
jobs:
ansible-lint:
name: Ansible Lint
steps:
- name: Checkout code
uses: actions/checkout@v4
2024-09-13 18:22:26 +02:00
- name: Run ansible-lint
2024-09-13 18:23:18 +02:00
uses: docker://registry.mgrote.net/ansible-devspace:latest
2024-09-13 19:17:47 +02:00
with:
args: /home/ansible-dev/.local/bin/ansible-lint --force-color --format pep8 --show-relpath
2024-09-13 18:17:59 +02:00
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