From db63c1cbb46829f5d29d0ad72ea4f98464b464e6 Mon Sep 17 00:00:00 2001 From: Imani Manyara Date: Fri, 13 Nov 2026 11:58:15 -0500 Subject: [PATCH] Add the shared OSV and secret scans beside the local audit --- .github/workflows/security.yml | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/.github/workflows/security.yml b/.github/workflows/security.yml index 9dc42db..ea7d8ca 100644 --- a/.github/workflows/security.yml +++ b/.github/workflows/security.yml @@ -55,3 +55,16 @@ jobs: # repository. --ignore-unreachable keeps a fetch failure from being # reported as a vulnerability; a real advisory still fails the job. - run: composer audit --ignore-unreachable + + # The OSV scan and the secret scan this repository has never had. The local `audit` job above is + # deliberately left alone: it caches composer and pins its own PHP, which the shared workflow does + # not, and its `composer update` audit covers dev dependencies that the shared job's + # `--locked --no-dev` skips. The two are not duplicates; neither is a superset of the other. + shared: + name: shared scans (OSV, secrets) + uses: laranail/.github/.github/workflows/security.yml@main + with: + php-version: '8.4' + # Carries OP_SERVICE_ACCOUNT_TOKEN through for the ggshield step. The shared workflow declares it + # optional and skips with a warning when absent, so this is correct before the credential exists. + secrets: inherit