From 3fbd0f16c9cbce537a479edc25af3c7d17cf2a14 Mon Sep 17 00:00:00 2001 From: royceshen <26153348+royceshen@users.noreply.github.com> Date: Thu, 23 Apr 2026 14:44:10 +0800 Subject: [PATCH] security scan integration --- .github/workflows/security-scan.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .github/workflows/security-scan.yml diff --git a/.github/workflows/security-scan.yml b/.github/workflows/security-scan.yml new file mode 100644 index 0000000000..373bcedd44 --- /dev/null +++ b/.github/workflows/security-scan.yml @@ -0,0 +1,22 @@ +name: safety-scan + +on: + pull_request: + types: + - opened + - synchronize + branches: + - main +permissions: + contents: read + checks: write + +jobs: + safety-scan: + with: + enable_gitleaks: true + enable_trivy_package: true + enable_trivy_dockerfile: true + enable_hadolint: true + uses: node-real/github-workflows/.github/workflows/security-scan.yml@main + secrets: inherit \ No newline at end of file