From 242ca1c0a14abf04938300d4af4dd4e2b569f77d Mon Sep 17 00:00:00 2001 From: Chad Bentz <1760475+felickz@users.noreply.github.com> Date: Wed, 17 Sep 2025 19:02:50 -0400 Subject: [PATCH 1/2] Update ref description in action.ymls to include expected format for uploads --- analyze/action.yml | 2 +- upload-sarif/action.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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..6cdc0f6f09 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. Must be formatted as 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." From 2f35a479828ad947a805c9d8c6899ed44af461b4 Mon Sep 17 00:00:00 2001 From: Chad Bentz <1760475+felickz@users.noreply.github.com> Date: Wed, 17 Sep 2025 19:07:57 -0400 Subject: [PATCH 2/2] Update upload-sarif/action.yml Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> --- upload-sarif/action.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/upload-sarif/action.yml b/upload-sarif/action.yml index 6cdc0f6f09..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. Must be formatted as refs/heads/, refs/tags/, refs/pull//merge, or refs/pull//head." + 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."