From b2be16d8b98c932286e3ecc0590e342cedbdb4d2 Mon Sep 17 00:00:00 2001 From: Alan Locke Date: Fri, 24 Jul 2026 10:06:44 -0500 Subject: [PATCH] Add security GHA shim (gitleaks + Dependabot SLA gate) --- .github/workflows/security.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 .github/workflows/security.yml diff --git a/.github/workflows/security.yml b/.github/workflows/security.yml new file mode 100644 index 0000000..cd32c68 --- /dev/null +++ b/.github/workflows/security.yml @@ -0,0 +1,23 @@ +name: Security + +# Thin shim — gitleaks + the dependency SLA gate live in the org-wide reusable +# workflow (pipeline_deals/.github/workflows/security-reusable.yml). This file +# owns only triggers + concurrency; behavior inherits the reusable's defaults. + +on: + pull_request: + types: [opened, ready_for_review, synchronize, reopened] + +# Superseding pushes cancel in-flight scans (a cancelled scan leaves no +# misleading state — the newer commit re-scans). +concurrency: + group: security-${{ github.event.pull_request.number || github.run_id }} + cancel-in-progress: true + +permissions: + contents: read + +jobs: + security: + uses: PipelineDeals/pipeline_deals/.github/workflows/security-reusable.yml@master + secrets: inherit