Skip to content

Commit a3f075f

Browse files
committed
Set ISSUE_BODY env var when editing.
The indirection via environment variables is annoying...however much more secure it may be... /me glares at zizmor...
1 parent 1cc592f commit a3f075f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/workflows/osv-scanner-main.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,7 @@ jobs:
8383
if: ${{ steps.latest_issue.outputs.content != '' && !contains(steps.results.outputs.content, 'No issues found') }}
8484
env:
8585
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
86+
ISSUE_BODY: ${{ steps.results.outputs.content }}
8687
LATEST_ISSUE: ${{ steps.latest_issue.outputs.content }}
8788
run: |
8889
gh issue edit ${LATEST_ISSUE} --title "Vulnerabilities as of ${NOW}" --body "${ISSUE_BODY}"

0 commit comments

Comments
 (0)