Skip to content

fix: use --output-file instead of --output - #122

Open
G-Rath wants to merge 3 commits into
google:mainfrom
G-Rath:patch-1
Open

fix: use --output-file instead of --output#122
G-Rath wants to merge 3 commits into
google:mainfrom
G-Rath:patch-1

Conversation

@G-Rath

@G-Rath G-Rath commented Mar 10, 2026

Copy link
Copy Markdown

with:
scan-args: |-
--output=${{ inputs.matrix-property }}${{ inputs.results-file-name }}
--output-file=${{ inputs.matrix-property }}${{ inputs.results-file-name }}

@IchordeDionysos IchordeDionysos Aug 25, 2026

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In osv-reporter this is different, this also replaces the deprecated --gh-annotations=true:

Suggested change
--output-file=${{ inputs.matrix-property }}${{ inputs.results-file-name }}
--output-file=json:${{ inputs.matrix-property }}${{ inputs.results-file-name }},gh-annotations:#stderr

with:
scan-args: |-
--output=${{ inputs.matrix-property }}${{ inputs.results-file-name }}
--output-file=${{ inputs.matrix-property }}${{ inputs.results-file-name }}

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
--output-file=${{ inputs.matrix-property }}${{ inputs.results-file-name }}
--output-file=sarif:${{ inputs.matrix-property }}${{ inputs.results-file-name }}

--output=${{ inputs.matrix-property }}${{ inputs.results-file-name }}
--output-file=${{ inputs.matrix-property }}${{ inputs.results-file-name }}
--new=${{ inputs.matrix-property }}results.json
--gh-annotations=false

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
--gh-annotations=false

--output-file=${{ inputs.matrix-property }}${{ inputs.results-file-name }}
--old=${{ inputs.matrix-property }}old-results.json
--new=${{ inputs.matrix-property }}new-results.json
--gh-annotations=true

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
--gh-annotations=true

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants