diff --git a/analyze/action.yml b/analyze/action.yml index 5c976c69a..f28e7c37d 100644 --- a/analyze/action.yml +++ b/analyze/action.yml @@ -46,10 +46,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. If provided, the sha input must be provided as well." + 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 not available in pull requests from forks." 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." + 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 not available in pull requests from forks." required: false category: description: String used by Code Scanning for matching the analyses diff --git a/upload-sarif/action.yml b/upload-sarif/action.yml index 5a34a3e40..aa5ba8073 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. If provided, the sha input must be provided as well." + 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 not available in pull requests from forks." 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." + 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 not available in pull requests from forks." required: false token: default: ${{ github.token }}