From 5916f9896d919ab9a00738740b57d9cba172264d Mon Sep 17 00:00:00 2001 From: Alex Croteau Date: Tue, 25 Jan 2022 18:24:48 -0500 Subject: [PATCH] Applies recomendation in upload-sarif/action.yml --- upload-sarif/action.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/upload-sarif/action.yml b/upload-sarif/action.yml index 16f4daad6..5a34a3e40 100644 --- a/upload-sarif/action.yml +++ b/upload-sarif/action.yml @@ -14,10 +14,10 @@ inputs: required: false default: ${{ github.workspace }} ref: - description: "The ref where results will be uploaded. If not provided, the Action will use the GITHUB_REF environment variable." + description: "The ref where results will be uploaded. If not provided, the Action will use the GITHUB_REF environment variable. If provided, the sha input must be provided as well." required: false sha: - description: "The hash of the HEAD of the ref where results will be uploaded. If not provided, the Action will use the GITHUB_SHA environment variable." + description: "The sha of the HEAD of the ref where results will be uploaded. If not provided, the Action will use the GITHUB_SHA environment variable. If provided, the ref input must be provided as well." required: false token: default: ${{ github.token }}