Skip to content

Commit cfefe3a

Browse files
committed
Clarify that ref inputs are ignored for forks
1 parent 25f779c commit cfefe3a

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

analyze/action.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -52,10 +52,10 @@ inputs:
5252
# If changing this, make sure to update workflow.ts accordingly.
5353
default: ${{ github.workspace }}
5454
ref:
55-
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."
55+
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."
5656
required: false
5757
sha:
58-
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."
58+
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."
5959
required: false
6060
category:
6161
description: String used by Code Scanning for matching the analyses

upload-sarif/action.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,10 @@ inputs:
1414
required: false
1515
default: ${{ github.workspace }}
1616
ref:
17-
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."
17+
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."
1818
required: false
1919
sha:
20-
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."
20+
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."
2121
required: false
2222
token:
2323
default: ${{ github.token }}

0 commit comments

Comments
 (0)