Skip to content

Commit c9ea8d1

Browse files
committed
Clarify comments on input types in workflow_call.yml to enhance understanding of input constraints
1 parent f4c3c35 commit c9ea8d1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

actions/ql/test/query-tests/Security/CWE-094/.github/workflows/workflow_call.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,12 +29,12 @@ jobs:
2929
run: |
3030
echo "${{ inputs.title }}"
3131
32-
# Not vulnerable: number input (not a string type)
32+
# Not vulnerable: number input constrained by GitHub to numeric values
3333
- name: safe number input
3434
run: |
3535
echo "${{ inputs.count }}"
3636
37-
# Not vulnerable: boolean input (not a string type)
37+
# Not vulnerable: boolean input constrained by GitHub to true/false values
3838
- name: safe boolean input
3939
run: |
4040
echo "${{ inputs.flag }}"

0 commit comments

Comments
 (0)