Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions .github/workflows/security.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,3 +58,17 @@ jobs:

- name: Audit
run: composer audit

# 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'
# 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
Loading