Commit Graph

7679 Commits

Author SHA1 Message Date
Chuan-kai Lin d471ff982f build: refresh js files 2025-09-26 15:15:09 -07:00
Chuan-kai Lin f29462d017 Overlay: use overlay-base CodeQL version 2025-09-26 15:15:08 -07:00
Chuan-kai Lin 1b32ed334b Add getCodeQLVersionFromOverlayBaseDatabase() 2025-09-26 15:15:08 -07:00
Chuan-kai Lin ef45800e5c Add getMostRecentActionsCacheEntry() 2025-09-26 15:15:07 -07:00
Chuan-kai Lin c35d1b3eb4 Extract getCacheWorkflowKeyPrefix() 2025-09-26 15:15:07 -07:00
Chuan-kai Lin eb5531f129 Add overlay-base database cache key tests 2025-09-26 15:15:07 -07:00
Chuan-kai Lin c4d96bef6a build: refresh js files 2025-09-26 15:13:52 -07:00
Chuan-kai Lin c3d80a1a64 Compute preliminary overlay database mode 2025-09-26 15:13:51 -07:00
Chuan-kai Lin 57444ccc63 Add getPreliminaryOverlayDatabaseMode() 2025-09-26 15:13:51 -07:00
Chuan-kai Lin 25b6845641 Move support code into loadUserConfig() 2025-09-26 15:13:51 -07:00
Chuan-kai Lin c079287f80 Call amendInputConfigFile() early
This commit extracts into amendInputConfigFile() the code that processes
configInput, and moves the call from initConfig() into init-action.ts.
2025-09-26 15:13:51 -07:00
Chuan-kai Lin fcd4657460 Compute InitConfigInputs early 2025-09-26 15:13:50 -07:00
Chuan-kai Lin 9ebca4c820 Move codeql out of InitConfigInputs 2025-09-26 15:13:50 -07:00
Chuan-kai Lin 046ce56f57 Overlay: choose database mode without CodeQL CLI
This commit makes getOverlayDatabaseMode() accept undefined as arguments
for codeql and languages.
2025-09-26 15:13:50 -07:00
Chuan-kai Lin f6247bb37b Overlay: check features without CodeQL CLI
This commit changes isOverlayAnalysisFeatureEnabled() so that it uses
the overlay-language-aliases.json file to resolve language aliases
instead of relying on the CodeQL CLI.
2025-09-26 15:13:50 -07:00
Chuan-kai Lin 6e69a927f6 Remove Feature.OverlayAnalysis minimumVersion
getOverlayDatabaseMode() already performs the same version check, so we
can remove minimumVersion from Feature.OverlayAnalysis. Doing so allows
the action to perform feature checks without CodeQL CLI.
2025-09-26 15:13:50 -07: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
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
Henry Mercer 79dc6cc78c Merge pull request #3150 from github/mergeback/v3.30.4-to-main-303c0aef
Mergeback v3.30.4 refs/heads/releases/v3 into main
2025-09-25 12:08:26 +01:00
github-actions[bot] 4d32274da6 Rebuild 2025-09-25 10:50:17 +00:00
github-actions[bot] 0a3e31778d Update changelog and version after v3.30.4 2025-09-25 10:19:26 +00:00
Ian Lynagh 303c0aef88 Merge pull request #3149 from github/update-v3.30.4-e4b85ab65
Merge main into releases/v3
v3.30.4
2025-09-25 11:18:49 +01:00
github-actions[bot] 333a673809 Update changelog for v3.30.4 2025-09-25 09:54:23 +00:00
Henry Mercer 5445d1a09c Merge branch 'main' into henrymercer/slim-pr-checks 2025-09-25 10:42:10 +01:00