Michael B. Gale
74a138c285
Use instance in DownloadSource and pass it on to getApiClient
2026-10-13 18:39:27 +01:00
Michael B. Gale
39358b5a0d
Use DownloadSource for potentialDownloadSources
2026-10-13 18:20:16 +01:00
Michael B. Gale
2425045e40
Use "asset" in comment
2026-10-13 18:20:16 +01:00
Michael B. Gale
739fc3a530
Add and use RepositoryNwoStr type
2026-10-13 18:20:16 +01:00
Michael B. Gale
89b7c14bfa
Refactor getCodeQLBundleDownloadURL out of setup-codeql
2026-10-13 18:20:15 +01:00
Michael B. Gale
604755773b
Use ActionState for getCodeQLActionRepository
2026-10-13 18:12:23 +01:00
Michael B. Gale
424f4853ad
Refactor getCodeQLActionRepository out of setup-codeql
2026-10-13 18:11:46 +01:00
Michael B. Gale
9e60130a3c
Add getDotcomApiDetails
2026-10-13 18:11:29 +01:00
Michael B. Gale
b43adc38ef
Guard against blank auth value
...
This shouldn't be possible, but was previously handled by the library
2026-10-13 18:06:57 +01:00
Michael B. Gale
1036e04ce1
Make externalRepoAuth check more consistent
2026-10-13 18:06:52 +01:00
Michael B. Gale
654f5d94e2
Use getCurrentInstance()
2026-10-13 17:28:17 +01:00
Michael B. Gale
ea915216b6
Make auth property on GitHubApiDetails optional
2026-10-13 17:17:00 +01:00
Michael B. Gale
d1b97ac054
Move GitHubApiDetails to github.ts
2026-10-13 17:16:32 +01:00
Michael B. Gale
cdb25300dd
Add functions to get the current and dotcom instance
2026-10-13 14:48:24 +01:00
Michael B. Gale
0b0ac95647
Move some definitions out of util.ts into a new github.ts module
2026-10-13 14:42:12 +01:00
Michael B. Gale
63387d169f
Improve GitHubApiDetails types and documentation
2026-10-13 14:24:12 +01:00
Michael B. Gale
eb94de7c5c
Merge pull request #4225 from github/mbg/reduce-config-requirements
...
Store and restore "failed" configuration if `init` step aborts
2026-10-13 09:34:24 +00:00
Michael B. Gale
9645acc2ff
Revert config === undefined condition
2026-10-12 22:54:47 +01:00
Michael B. Gale
6a9f7e7fc3
Log if returning early from recordOverlayStatus due to no languages
2026-10-12 22:50:11 +01:00
Michael B. Gale
67f44bc916
Use Logger for printDebugLogs and log when returning early
2026-10-12 22:48:21 +01:00
Michael B. Gale
26c6f91e6b
Throw if aborted config functions are called incorrectly
2026-10-12 22:42:38 +01:00
Michael B. Gale
e3aeabd8f1
Fix example in comment
2026-10-12 22:40:25 +01:00
Michael B. Gale
be78e02f2d
Fix comment
2026-10-12 22:39:34 +01:00
Michael B. Gale
bed4cc0475
Add log message for !config.dbLocation case
2026-10-12 22:39:08 +01:00
Michael B. Gale
ac8654a8f2
Add printDebugLogs tests
2026-10-12 13:08:08 +01:00
Michael B. Gale
ecfc96e0a9
Add getDisplayActionName tests
2026-10-12 13:08:01 +01:00
Michael B. Gale
409be01136
Replace deprecated functions in init-action.post.ts
2026-10-12 13:07:55 +01:00
Michael B. Gale
f4a15a13fd
Try to load failed config if normal config is unavailable
...
Adapt relevant functions by narrowing their types or skipping steps that would otherwise have been skipped as well
2026-10-12 13:07:48 +01:00
Michael B. Gale
4fdbb71b54
Use runInActions for init-post
2026-10-12 13:07:38 +01:00
Michael B. Gale
5136039854
Store partial configuration when init is aborted
2026-10-12 13:07:36 +01:00
Michael B. Gale
19445ddfed
Reduce Config requirements for tryUploadSarifIfRunFailed
2026-10-12 13:07:13 +01:00
Michael B. Gale
317f264e1f
Change diagnosticsExport to not require full Config
2026-10-12 13:07:06 +01:00
Michael B. Gale
309f6af89b
Change getGeneratedCodeScanningConfigPath to not require full Config
2026-10-12 13:06:59 +01:00
Michael B. Gale
cf8f7b9787
Add ActionConfig type
2026-10-12 13:06:43 +01:00
Henry Mercer
0db2f2b4a5
Merge pull request #4205 from github/henrymercer/require-codeql-2-20-7
...
Bump minimum CodeQL CLI version to 2.20.7
2026-10-12 10:04:43 +00:00
Henry Mercer
ae96eed5bb
Merge remote-tracking branch 'origin/main' into henrymercer/require-codeql-2-20-7
...
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com >
2026-10-12 10:11:02 +01:00
Mario Campos
e4e9b269fe
Merge pull request #4211 from github/mario-campos/document-changenotes
...
Document change-notes process
2026-10-09 23:05:41 +00:00
Michael B. Gale
6e7fe2e990
Merge pull request #4220 from github/mbg/fix-action-state-type-inference
...
Fix type inference for `ActionState`
2026-10-09 22:31:18 +00:00
Mario Campos
fa56eef12f
Delete unnecessary filename/frontmatter validation instructions
2026-10-09 16:48:00 -05:00
Michael B. Gale
71f2680f85
Merge pull request #4209 from github/dependabot/npm_and_yarn/eslint-plugin-jsdoc-65.0.1
...
Bump eslint-plugin-jsdoc from 64.5.4 to 65.0.1
2026-10-09 17:59:37 +00:00
Michael B. Gale
3b399fec34
Merge branch 'main' into dependabot/npm_and_yarn/eslint-plugin-jsdoc-65.0.1
2026-10-09 18:47:49 +01:00
Mario Campos
5532d8e11e
Merge pull request #4218 from github/mario-campos/loosen-changenote-validation
...
Do not validate change-note file names or frontmatter
2026-10-09 17:45:19 +00:00
Michael B. Gale
68f5b579fa
Merge pull request #4212 from github/mbg/tests/fix-export-variable-2
...
Do not use `core.exportVariable` in unit tests (2nd attempt)
2026-10-09 17:38:52 +00:00
Mario Campos
45cda5b577
Delete unused path import
2026-10-09 08:57:09 -05:00
Michael B. Gale
e57c0e65dd
Fix type inference for ActionState
2026-10-09 14:21:47 +01:00
Mario Campos
1ced68ed2f
Do not validate change-note file names or frontmatter
...
Presently, the strict filename or frontmatter are not being used; so we're validating them unnecessarily. So, for now, remove these checks until we decide to either do something with them, or delete the code entirely.
2026-10-08 15:11:43 -05:00
Mario Campos
13b1321685
Refine misc. wording of unreleased-change-notes/README.md
...
Co-authored-by: Michael B. Gale <mbg@github.com >
2026-10-08 15:01:05 -05:00
Mario Campos
cc826bb8e3
Delete unnecessary guidance for change-note body
2026-10-08 14:57:03 -05:00
Mario Campos
40d76bc727
Use actual CHANGELOG.md entries for example change-note
2026-10-08 14:55:23 -05:00
Michael B. Gale
bd97dda6bf
Add and use __CODEQL_ACTION_TEST_ENV__ in tests
2026-10-08 20:23:37 +01:00