Fix upload-sarif not uploading non-.sarif files
#7373
__analyze-ref-input.yml
on: pull_request
Matrix: Analyze: 'ref' and 'sha' from inputs