GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Merge pull request #3160 from github/mbg/fix/upload-sarif · github/codeql-action@0a67bd4

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • CHANGELOG.md
  • lib
    • upload-sarif-action.js
  • src
    • upload-sarif-action.ts
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎CHANGELOG.md‎

Copy file name to clipboardExpand all lines: CHANGELOG.md
+1-1Lines changed: 1 addition & 1 deletion
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ See the [releases page](https://github.com/github/codeql-action/releases) for th
44

55
## [UNRELEASED]
66

7-
No user facing changes.
7+
- We fixed a bug that was introduced in `3.30.4` with `upload-sarif` which resulted in files without a `.sarif` extension not getting uploaded. [#3160](https://github.com/github/codeql-action/pull/3160)
88

99
## 3.30.4 - 25 Sep 2025
1010

Collapse file

‎lib/upload-sarif-action.js‎

Copy file name to clipboardExpand all lines: lib/upload-sarif-action.js
+1-1Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Collapse file

‎src/upload-sarif-action.ts‎

Copy file name to clipboardExpand all lines: src/upload-sarif-action.ts
+6-1Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,12 @@ async function findAndUpload(
6161
sarifPath,
6262
analysis.sarifPredicate,
6363
);
64-
} else if (pathStats.isFile() && analysis.sarifPredicate(sarifPath)) {
64+
} else if (
65+
pathStats.isFile() &&
66+
(analysis.sarifPredicate(sarifPath) ||
67+
(analysis.kind === analyses.AnalysisKind.CodeScanning &&
68+
!analyses.CodeQuality.sarifPredicate(sarifPath)))
69+
) {
6570
sarifFiles = [sarifPath];
6671
} else {
6772
return undefined;

0 commit comments

Comments
0 (0)
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.