From d052ea10134823725587b527011001421b5c844d Mon Sep 17 00:00:00 2001 From: "dahu.kdh" Date: Tue, 28 Oct 2025 20:57:53 +0800 Subject: [PATCH] Add use_local_policy input parameters --- slsa_with_provenance/action.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/slsa_with_provenance/action.yml b/slsa_with_provenance/action.yml index 876d392..1eb6797 100644 --- a/slsa_with_provenance/action.yml +++ b/slsa_with_provenance/action.yml @@ -16,6 +16,11 @@ inputs: required: false default: false + use_local_policy: + description: 'Use local source policy' + required: false + default: "" + version: description: "sourcetool version to use" required: true @@ -98,6 +103,7 @@ runs: --commit ${{ github.sha }} --owner ${{ github.repository_owner }} \ --repo ${{ github.event.repository.name }} --branch ${{ github.ref_name }} \ --allow-merge-commits="${{ inputs.allow-merge-commits }}" \ + --use_local_policy="${{ inputs.use_local_policy }}" \ --output_signed_bundle ${{ github.workspace }}/metadata/signed_bundle.intoto.jsonl >> $GITHUB_STEP_SUMMARY shell: bash env: