Rym_Infrastructure/.gitea/workflows/test-ci.yml

30 lines
637 B
YAML

name: DevSecOps Pipeline - V1 Infrastructure
on: [push]
jobs:
health-check:
name: System & Environment Check
runs-on: host
steps:
- name: System Check
run: |
echo "Pipeline CI/CD opérationnel sur le VPS RYM !"
uname -a
podman --version
gitleaks-scan:
name: Secret Detection (Gitleaks)
runs-on: ubuntu-latest
container:
image: zricethezav/gitleaks:latest
steps:
- name: Check Out Code
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Run Gitleaks Scan
run: |
gitleaks detect --source . -v