Michael B. Gale
9a0b46abff
Rename keys and entries helpers and update docs
2025-09-30 12:52:04 +01:00
Michael B. Gale
b8c496644d
Rename variables in getGroupedSarifFilePaths
2025-09-30 12:05:59 +01:00
Michael B. Gale
ad086e4d90
Use path.extname for some extension checks
2025-09-30 11:55:04 +01:00
Michael B. Gale
93711d3d89
Print a warning when there are sarifFiles in getGroupedSarifFilePaths that don't belong to an analysis kind
2025-09-29 15:07:16 +01:00
Michael B. Gale
056fb86575
Call fixCategory in uploadSpecifiedFiles
...
Since `fixCategory` is now part of `AnalysisConfig`, we don't have to remember to do it at the call site for `uploadSpecifiedFiles` or `uploadFiles` anymore.
2025-09-29 15:07:16 +01:00
Michael B. Gale
63d1b25e97
Use getGroupedSarifFilePaths for upload-sarif Action
2025-09-29 15:07:16 +01:00
Michael B. Gale
717d581574
Add fixCategory to AnalysisConfig
2025-09-29 15:07:15 +01:00
Michael B. Gale
0417531633
Add keysTyped and entriesTyped helpers
2025-09-29 15:07:15 +01:00
Michael B. Gale
13ae3d4328
Add and use getAnalysisConfig
2025-09-29 15:07:14 +01:00
Michael B. Gale
fe0376ed1f
Add getGroupedSarifFilePaths with tests
2025-09-29 15:07:13 +01:00
Michael B. Gale
36adfa7b0f
Merge pull request #3166 from github/mbg/upload-sarif/add-tests
...
Add tests for `upload-sarif`
2025-09-29 15:06:31 +01:00
Michael B. Gale
97159624c3
Fix condition in test workflow
2025-09-29 14:34:50 +01:00
Óscar San José
f0a08a4bf5
Merge pull request #3159 from github/oscarsj/update-brace-expansion-dep
...
Update vulnerable dependency brace-expansion
2025-09-29 12:13:53 +02:00
Michael B. Gale
73fbfb0bbf
Update src/upload-sarif.test.ts
...
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2025-09-29 09:11:01 +01:00
Michael B. Gale
5fd2cfe1ef
Fail if no SARIF files were uploaded
2025-09-29 09:04:44 +01:00
Michael B. Gale
2adc894410
Tests: ensure uploadSpecifiedFiles wasn't called if we don't expect it to be
2025-09-29 09:01:28 +01:00
Michael B. Gale
5b3f0ded91
Test that uploaded files match expectations for each analysis kind
2025-09-29 09:01:07 +01:00
Michael B. Gale
6e0b0872fa
Add some tests for findAndUpload and uploadSarif
2025-09-29 09:01:02 +01:00
Michael B. Gale
9f452fad0f
Move core upload-sarif logic to upload-sarif module
...
Note that this also fixes the format of the `sarif-ids` outputs to match what is documented
2025-09-29 08:57:52 +01:00
Michael B. Gale
5fc9e66105
Move findAndUpload to a new module
2025-09-29 08:44:44 +01:00
Michael B. Gale
6a87ebe42b
Merge pull request #3162 from github/mergeback/v3.30.5-to-main-3599b3ba
...
Mergeback v3.30.5 refs/heads/releases/v3 into main
2025-09-26 19:07:29 +01:00
github-actions[bot]
b66e847aaf
Rebuild
2025-09-26 17:35:46 +00:00
github-actions[bot]
1733a23b20
Update changelog and version after v3.30.5
2025-09-26 17:30:55 +00:00
Michael B. Gale
3599b3baa1
Merge pull request #3161 from github/update-v3.30.5-0a67bd46a
...
Merge main into releases/v3
v3.30.5
2025-09-26 18:30:21 +01:00
github-actions[bot]
2ca0085e58
Update changelog for v3.30.5
2025-09-26 17:09:07 +00:00
Michael B. Gale
0a67bd46a0
Merge pull request #3160 from github/mbg/fix/upload-sarif
...
Hotfix `upload-sarif` not uploading non-`.sarif` files
2025-09-26 18:06:08 +01:00
Michael B. Gale
8e34f2f3bf
Add changelog
2025-09-26 17:52:17 +01:00
Michael B. Gale
0b7fc56648
Fix upload-sarif not uploading non-.sarif files
2025-09-26 17:47:59 +01:00
Óscar San José
2f0649510e
Build lib
2025-09-26 16:45:21 +02:00
Óscar San José
f19a3e769f
Update vulnerable dependencies brace-expansion
2025-09-26 16:41:06 +02:00
Michael B. Gale
94a9b7a110
Merge pull request #3155 from github/mbg/node/no-install-in-actions
...
Don't run `npm install` when in an Actions workflow
2025-09-25 22:47:04 +01:00
Michael B. Gale
a0ae9ba202
Log what the script is doing
2025-09-25 20:25:59 +01:00
Michael B. Gale
b27a8ef21f
Exit if running in an Actions workflow
2025-09-25 20:25:59 +01:00
Henry Mercer
65925679a3
Merge pull request #3139 from github/henrymercer/fix-log-message
...
Fix `tools: linked` log message
2025-09-25 16:48:44 +01:00
Michael B. Gale
fa64a7dee6
Merge pull request #3154 from github/mbg/node/check-up-to-date-deps
...
Add script to check whether `npm i` needs to be run
2025-09-25 15:04:03 +01:00
Michael B. Gale
455038c8a7
Add script to check whether npm i needs to be run
...
and add it to the `build` command
2025-09-25 14:45:55 +01:00
Michael B. Gale
853decd26b
Merge pull request #3152 from github/mbg/node/individual-test-cmd
...
Add `npm run ava` command, update instructions, and exclude files from VSCode search
2025-09-25 14:42:35 +01:00
Michael B. Gale
48be21c31e
Use npm run ava in justfile
2025-09-25 14:22:38 +01:00
Michael B. Gale
77a9259761
Exclude transpiled code and dependencies from VSCode search
2025-09-25 14:22:38 +01:00
Michael B. Gale
e2e1db3e4e
Update CONTRIBUTING.md with npm run ava
2025-09-25 14:22:38 +01:00
Michael B. Gale
a645d167d6
Add npm run ava command (for ava without a specific path)
2025-09-25 14:22:38 +01:00
Michael B. Gale
8fca38155e
Merge pull request #3153 from github/mbg/ci/improve-unit-tests
...
Improve `pr-checks` workflow
2025-09-25 14:21:26 +01:00
Michael B. Gale
4e65cda8c2
Add generated workflow diff to job summary if changed
2025-09-25 13:30:00 +01:00
Michael B. Gale
b4db1860cd
Reset working directory before failing in check-js.sh
2025-09-25 13:27:45 +01:00
Michael B. Gale
9cf3a96f63
Add transpiled JS to job summary if changed
2025-09-25 13:27:39 +01:00
Michael B. Gale
6a72568b19
Run more checks in unit-tests job, even when previous checks failed
2025-09-25 13:27:32 +01:00
Henry Mercer
b1d32cf356
Merge branch 'main' into henrymercer/fix-log-message
2025-09-25 13:06:54 +01:00
Henry Mercer
5235174f0e
Merge pull request #3137 from github/henrymercer/slim-pr-checks
...
Only run PR checks on Ubuntu by default
2025-09-25 12:57:21 +01:00
Michael B. Gale
f3bf6463e1
Merge pull request #3151 from github/mbg/ci/rollback-test-triggers
...
Don't dry-run `rollback-release` workflow on release branches
2025-09-25 12:48:18 +01:00
Michael B. Gale
c5ce5e5d1c
Don't dry-run rollback-release workflow on release branches
2025-09-25 12:12:42 +01:00