Skip to content

Commit 0b9db6b

Browse files
patrickblackjrgithub-advanced-security[bot]Copilot
authored
fix: code scanning alert no. 8: Code injection (#121)
* Potential fix for code scanning alert no. 8: Code injection Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com> * Update .github/workflows/prow.yml Co-authored-by: Copilot <[email protected]> --------- Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com> Co-authored-by: Copilot <[email protected]>
1 parent 02d752e commit 0b9db6b

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/prow.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,10 @@ jobs:
3333
go mod tidy
3434
3535
- name: Convert GitHub event to single-line JSON
36+
env:
37+
EVENT: ${{ toJson(github.event) }}
3638
run: |
37-
echo "EVENT=$(echo '${{ toJson(github.event) }}' | jq -c '.')" >> $GITHUB_ENV
39+
echo "EVENT=$(jq -n --arg event \"$EVENT\" '$event | @json')" >> $GITHUB_ENV
3840
3941
- name: Run Prow Lite
4042
run: |

0 commit comments

Comments
 (0)