We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1dd188e commit 427ff49Copy full SHA for 427ff49
.github/workflows/osv-scanner-main.yaml
@@ -77,7 +77,8 @@ jobs:
77
# Note: this only finds the latest `OSV` labeled issue, so if there are
78
# more than one OSV issue, those will be left alone.
79
run: |
80
- gh issue list --search 'label:OSV sort:created-desc' --limit 1 --json number --jq .[].number
+ ISSUE_NUM=$(gh issue list --search 'label:OSV sort:created-desc' --limit 1 --json number --jq .[].number)
81
+ echo "content=$ISSUE_NUM" >> $GITHUB_OUTPUT
82
- name: Update existing issue if vulnerabilities
83
if: ${{ steps.latest_issue.outputs.content != '' && !contains(steps.results.outputs.content, 'No issues found') }}
84
env:
0 commit comments