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 }}