feat: ci cd pipelien #1

Merged
Noel merged 18 commits from feat/ci_cd_pipelien into main 2026-10-18 14:31:27 +00:00
Showing only changes of commit 779cf20f45 - Show all commits
+10 -3
View File
@@ -65,14 +65,21 @@ jobs:
secrets:
name: Secret scan (gitleaks)
runs-on: ubuntu-latest
container:
# gitleaks is published on GHCR only (not Docker Hub) - pin the version
image: ghcr.io/gitleaks/gitleaks:v8.28.0
# plain node image: the gitleaks container image has no node, which
# breaks node-based actions like actions/checkout
container: node:22-bookworm
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0 # gitleaks scans the full history
- name: Install gitleaks
run: |
curl -fsSL -o /tmp/gitleaks.tar.gz \
https://github.com/gitleaks/gitleaks/releases/download/v8.28.0/gitleaks_8.28.0_linux_x64.tar.gz
tar -xzf /tmp/gitleaks.tar.gz -C /usr/local/bin gitleaks
gitleaks version
- name: Scan for leaked secrets
run: gitleaks detect --source . --redact --verbose
# Already-committed secrets that you've accepted? Add a .gitleaksignore