From b2c8b4d78861526abfa37fa5a870fca4637b4eb5 Mon Sep 17 00:00:00 2001 From: Imani Manyara Date: Fri, 13 Nov 2026 11:41:35 -0500 Subject: [PATCH] Add the shared OSV and secret scans beside the local audit --- .github/workflows/security.yml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/.github/workflows/security.yml b/.github/workflows/security.yml index 2ad216b..6449840 100644 --- a/.github/workflows/security.yml +++ b/.github/workflows/security.yml @@ -59,3 +59,18 @@ jobs: - name: Composer audit run: composer audit --no-interaction + + # The OSV scan and the secret scan this repository has never had. The local `audit` job above is + # deliberately left alone: it caches composer, pins its own PHP, and on some repos runs through a + # container action -- none of which the shared workflow does. Running both is the pilot; dropping + # the duplicate `composer audit` is a separate decision, with evidence, once this has run. + shared: + name: shared scans (OSV, secrets) + uses: laranail/.github/.github/workflows/security.yml@main + with: + php-version: '8.5' + php-extensions: 'dom, curl, libxml, mbstring, zip, fileinfo' + # Carries OP_SERVICE_ACCOUNT_TOKEN through for the ggshield step. The shared workflow declares it + # optional and skips the scan with a warning when it is absent, so this is correct before the + # credential exists as well as after. + secrets: inherit