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

29 lines
628 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
steps:
- name: Check Out Code
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Run Gitleaks
uses: gitleaks/gitleaks-action@v2
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}