actions / starter-workflows

Accelerating new GitHub Actions workflows
https://github.com/features/actions
Other
8.59k stars 5.07k forks source link

Upload-Sarif: Update all workflows to use Upload-Sarif V3 #2379

Open jsoref opened 2 months ago

jsoref commented 2 months ago

Workflows should be using codeql-action/upload-sarif@v3 (roughly https://github.com/github/codeql-action/releases/tag/v3.22.11, plus later updates). It doesn't have breaking changes. A workflow in this repository already uses it. There's no reason to inconsistently use v1/v2.

Pre-requisites


Please note that at this time we are only accepting new starter workflows for Code Scanning. Updates to existing starter workflows are fine.


Tasks

For all workflows, the workflow:

For CI workflows, the workflow:

For Code Scanning workflows, the workflow:

Some general notes: