FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Move inline script from `diagnostics-export.yml` to a `.ts` file by mbg · Pull Request #4248 · github/codeql-action · GitHub

Repository navigation

Move inline script from diagnostics-export.yml to a .ts file - #4248

Merged
mbg merged 1 commit into
mainfrom
mbg/move-diag-export-script
Oct 20, 2026
Merged

mbg merged 1 commit into
mainfrom
mbg/move-diag-export-script

Conversation

mbg commented Oct 16, 2026

Copy link
Copy Markdown
Member

A simple dev-only change in prep for #4223 which moves the inline script out of the diagnostics-export.yml workflow and into a TS file, along with some minor changes to make TS happy.

mbg requested a review from henrymercer October 16, 2026 15:54
mbg requested a review from a team as a code owner October 16, 2026 15:54
Copilot AI max review requested due to automatic review settings October 16, 2026 15:54
github-actions Bot added the size/M Should be of average difficulty to review label Oct 16, 2026

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

Warning

  • Copilot's review of this pull request may be incomplete because some of the changed files are excluded by your Copilot content exclusion settings. See Excluding content from Copilot for details.

🟢 Approval recommended

The development-only extraction preserves existing checks and has no blocking issues.

0 open findings

What changed in this PR

Extracts the diagnostics-export workflow’s inline checks into TypeScript, preparing the development-only test for #4223.

Changes:

  • Moves existing SARIF assertions into a standalone script with explicit missing-field checks.
  • Enables Node setup and runs the script with tsx.
File Description
pr-checks/​checks/​diagnostics-export.yml Replaces the inline script with TypeScript execution.
pr-checks/​check-diagnostics.ts Contains the extracted diagnostic assertions.
Files excluded by content exclusion policy (1)
  • .github/workflows/__diagnostics-export.yml

🧠 Review effort: Max


💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

mbg added this pull request to stack #4250 October 16, 2026 16:13

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

Now that this lives separately from the check, we could add a brief description of what this script does in a header docstring.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

Makes sense, will do as a follow-up somewhere else.

mbg added this pull request to the merge queue Oct 20, 2026
Merged via the queue into main with commit 0fda7a6 Oct 20, 2026
236 checks passed
mbg deleted the mbg/move-diag-export-script branch October 20, 2026 16:07
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size/M Should be of average difficulty to review

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants


Back | FazBrowse Home | New Git URL