From 77afb24bc5165fb2a9540e08d077348ac509cc45 Mon Sep 17 00:00:00 2001 From: Guy Owen Date: Thu, 12 Sep 2024 15:51:13 +1000 Subject: [PATCH] [fix-reusable-workflow] Fixed reusable workflow for compatibility with caller workflows. (#307) --- .github/workflows/vulnerability-scan.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/.github/workflows/vulnerability-scan.yml b/.github/workflows/vulnerability-scan.yml index 22af5b54..d371d5cb 100644 --- a/.github/workflows/vulnerability-scan.yml +++ b/.github/workflows/vulnerability-scan.yml @@ -13,6 +13,18 @@ on: description: 'Tag to scan.' required: false default: '6.x' + workflow_call: + inputs: + summary: + description: 'Summary of the scheduled scan.' + required: false + default: 'Trivy CVE scan of published images.' + type: string + tag: + description: 'Tag to scan.' + required: false + default: '6.x' + type: string jobs: setup-matrix: runs-on: ubuntu-latest