File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3333 scan-args : " ${{ inputs.scan-args }}"
3434 fail-on-vuln : true
3535 upload-sarif : true
36- results-file-name : osv-scanner-scheduled-results-${{ github.workflow }}-${{ github.job }}.sarif
36+ results-file-name : osv-scanner-scheduled-results-${{ github.workflow_sha }}-${{ github.run_number }}.sarif
3737
3838 call_reusable_security :
3939 name : OpenSSF Scorecards
Original file line number Diff line number Diff line change @@ -33,18 +33,18 @@ jobs:
3333 - name : " Run analysis"
3434 uses : ossf/scorecard-action@4eaacf0543bb3f2c246792bd56e8cdeffafb205a # v2.4.3
3535 with :
36- results_file : scorecard-results-${{ github.workflow }}-${{ github.job }}.sarif
36+ results_file : scorecard-results-${{ github.workflow_sha }}-${{ github.run_number }}.sarif
3737 results_format : sarif
3838 publish_results : true
3939
4040 - name : " Upload artifact"
4141 uses : actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0
4242 with :
43- name : SARIF file
44- path : scorecard-results-${{ github.workflow }}-${{ github.job }}.sarif
43+ name : Scorecard SARIF file
44+ path : scorecard-results-${{ github.workflow_sha }}-${{ github.run_number }}.sarif
4545 retention-days : 5
4646
4747 - name : " Upload to code-scanning"
4848 uses : github/codeql-action/upload-sarif@cf1bb45a277cb3c205638b2cd5c984db1c46a412 # v4.31.7
4949 with :
50- sarif_file : scorecard-results-${{ github.workflow }}-${{ github.job }}.sarif
50+ sarif_file : scorecard-results-${{ github.workflow_sha }}-${{ github.run_number }}.sarif
Original file line number Diff line number Diff line change 3333 scan-args : " ${{ inputs.scan-args }}"
3434 fail-on-vuln : true
3535 upload-sarif : true
36- results-file-name : osv-scanner-pr-results-${{ github.workflow }}-${{ github.job }}.sarif
36+ results-file-name : osv-scanner-pr-results-${{ github.workflow_sha }}-${{ github.run_number }}.sarif
You can’t perform that action at this time.
0 commit comments