diff --git a/analyze/action.yml b/analyze/action.yml index e4c6b9daec..b7880be179 100644 --- a/analyze/action.yml +++ b/analyze/action.yml @@ -58,7 +58,7 @@ inputs: # If changing this, make sure to update workflow.ts accordingly. default: ${{ github.workspace }} ref: - 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. This input is ignored for pull requests from forks." + 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. This input is ignored for pull requests from forks. Expected format: refs/heads/, refs/tags/, refs/pull//merge, or refs/pull//head." required: false sha: 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. This input is ignored for pull requests from forks." diff --git a/upload-sarif/action.yml b/upload-sarif/action.yml index f4fd30f0c6..15ff9eeff3 100644 --- a/upload-sarif/action.yml +++ b/upload-sarif/action.yml @@ -14,7 +14,7 @@ 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. If provided, the sha input must be provided as well. This input is ignored for pull requests from forks." + 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. This input is ignored for pull requests from forks. Expected format: refs/heads/, refs/tags/, refs/pull//merge, or refs/pull//head." required: false sha: 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. This input is ignored for pull requests from forks."