Andrew Eisenberg
b494190443
Merge pull request #2726 from github/aeisenberg/reenable-artifact-upload
...
Ensure artifacts are only uploaded in safe situations
2025-01-27 11:10:46 -08:00
Andrew Eisenberg
a879704805
Clarify test fail;ure message
2025-01-27 10:51:01 -08:00
Andrew Eisenberg
62c322fad9
Add better comments around artifact upload tests
2025-01-27 10:18:03 -08:00
Marco Gario
7c2eafa990
Use ConfigureationError for exceptions
2025-01-27 10:09:07 +00:00
Andrew Eisenberg
f71067bd5f
Stop using feature-flag support for determining if a feature is active
...
Using the feature flag mechanism for checking if uploads are enabled was
too clunky. I'm moving the change to checking versions directly.
2025-01-26 13:42:15 -08:00
Andrew Eisenberg
2bab9f7984
Ensure artifacts are only uploaded in safe situations
...
This commit:
Turns on uploading of artifacts again but only if CLI version is
>= 2.20.3. I implemented the check using our feature flag functionality.
I was on the fence about this since it makes the PR more complex.
However, it does give us more flexibility when controlling artifact
uploads.
Also, I renamed the two workflows that were previously disabled. This
way we will not accidentally enable the old workflows for previous
versions of the action.
2025-01-25 15:31:35 -08:00
Marco Gario
7d7758bb24
Skip proxy if no credentials
2025-01-24 21:46:40 +00:00
Marco Gario
f6d19ed42e
Formatting
2025-01-24 20:27:36 +00:00
Marco Gario
ecf723239a
Sanitize inputs
2025-01-24 20:20:10 +00:00
Marco Gario
51bb5eb99a
Fix bug in getCredentials + tests
2025-01-24 16:39:47 +00:00
github-actions[bot]
208091da0a
Update default bundle to codeql-bundle-v2.20.3
2025-01-23 22:15:14 +00:00
Angela P Wen
519de26711
Temporarily disable uploading debug artifacts
2025-01-22 10:35:38 -08:00
Henry Mercer
3505f8142a
Merge branch 'main' into henrymercer/fix-extension-assumption
2025-01-22 14:52:26 +00:00
Henry Mercer
d23f49f56f
Fix assumption that download URLs contain file extension
...
This is not the case when downloading the bundle from a GitHub Release synced to GHES with the CodeQL Action sync tool.
2025-01-22 13:02:45 +00:00
github-actions[bot]
aa76523503
Update default bundle to codeql-bundle-v2.20.2
2025-01-21 14:20:11 +00:00
Chuan-kai Lin
071996fbe2
getDiffRanges: better fallback for absent patch
2025-01-16 09:26:22 -08:00
Chuan-kai Lin
5889cfd499
Add analysis_is_diff_informed to status report
2025-01-16 08:50:23 -08:00
Henry Mercer
40a203a0ea
Remove redundant version checks
...
Remove version checks that always return true given the new minimum version of CodeQL.
2025-01-15 18:02:25 +00:00
Henry Mercer
4de061d85d
Merge branch 'main' into dependabot/npm_and_yarn/npm-006da05bd8
2025-01-15 17:30:02 +00:00
Henry Mercer
02dfacf1c1
Fix linting errors
2025-01-15 13:57:55 +00:00
Marco Gario
3b4f4d94c0
Merge pull request #2680 from github/marcogario/filter_registries
...
Filter registry credentials by language
2025-01-15 11:34:00 +01:00
Chuan-kai Lin
1efc6bb9ce
Merge pull request #2679 from github/cklin/get-diff-from-api
...
getPullRequestEditedDiffRanges: use GitHub API
2025-01-14 07:10:58 -08:00
Marco Gario
31d11b19a0
Use Language type
2025-01-14 14:29:26 +00:00
Chuan-kai Lin
ae19466961
build: refresh js files
2025-01-13 14:29:39 -08:00
Marco Gario
de0f9cf316
Support both namings for java
2025-01-13 16:15:26 +00:00
Marco Gario
e02d65ac18
Filter registry credentials by language
2025-01-13 10:52:07 +00:00
Henry Mercer
fe593c34e6
Mark invalid external repo specifiers as configuration error
...
This is a workaround — the proper fix is to better separate out user input vs the Action in `database init` so we can better attribute configuration errors.
2025-01-10 20:41:24 +00:00
Henry Mercer
87fc816d25
Merge pull request #2669 from github/update-supported-enterprise-server-versions
...
Update supported GitHub Enterprise Server versions
2025-01-10 19:24:40 +00:00
Angela P Wen
4df151edec
Merge branch 'main' into angelapwen/deprecate-action-v2
2025-01-10 08:54:32 -08:00
Angela P Wen
8d2753b250
Add public changelog blog post link
2025-01-10 08:52:16 -08:00
Dave Bartolomeo
1aa16c2c36
Merge branch 'main' into update-bundle/codeql-bundle-v2.20.1
2025-01-09 11:38:32 -05:00
Michael B. Gale
fb65b6ce78
Merge pull request #2672 from github/mbg/start-proxy/include-type-in-urls-output
2025-01-08 18:30:12 +00:00
github-actions[bot]
4daa59537b
Update default bundle to codeql-bundle-v2.20.1
2025-01-08 04:50:08 +00:00
Angela P Wen
04b5afaa72
Convert deprecation warning to error
2025-01-07 13:59:42 -08:00
Michael B. Gale
97aec69211
Include registry type in proxy_urls output
2025-01-06 11:02:05 +00:00
github-actions[bot]
5bf0e05e7b
Rebuild
2025-01-05 19:27:03 +00:00
github-actions[bot]
a5a85242b9
Update supported GitHub Enterprise Server versions
2024-12-27 00:14:47 +00:00
Henry Mercer
b58f4471c8
Use @actions/io to locate binaries
2024-12-19 14:21:06 +00:00
Andrew Eisenberg
5f0a4d3e67
Bump the minimum supported version of CodeQL to 2.15.5
2024-12-16 15:39:28 -08:00
Michael B. Gale
62192f8dab
Add registry URLs as output to the start-proxy Action
2024-12-13 16:33:32 +00:00
Marco Gario
78d0136ff7
Merge pull request #2643 from github/marcogario/robustify_start_proxy_post
...
Start Proxy: Make the post step more robust to errors
2024-12-11 18:01:15 +01:00
Marco Gario
47dd68ef62
formatting
2024-12-11 15:12:12 +00:00
Marco Gario
f327a84ce5
Avoid failing the workflow on a proxy post step
2024-12-11 13:41:23 +00:00
Fotis Koutoulakis
1e5b59114b
Merge branch 'main' into NlightNFotis/detect_use_proxy_when_streaming
2024-12-11 11:40:08 +00:00
Fotis Koutoulakis (@NlightNFotis)
88bcf64e02
feat: change wording of error reporting when a failure occurs during extraction
2024-12-11 11:32:53 +00:00
Henry Mercer
c6454d58c8
Merge branch 'main' into NlightNFotis/detect_use_proxy_when_streaming
2024-12-10 17:23:35 +00:00
Chuan-kai Lin
300d251cd6
build: refresh js files
2024-12-10 08:44:11 -08:00
Fotis Koutoulakis (@NlightNFotis)
4c20d4f58a
feat: cleanup destination directory if we fail during streaming of the extraction
2024-12-09 19:13:05 +00:00
Fotis Koutoulakis (@NlightNFotis)
3951a82275
Merge branch 'main' into NlightNFotis/detect_use_proxy_when_streaming
2024-12-09 18:51:25 +00:00
Chuan-kai Lin
f9b0c1f2ea
build: refresh js files
2024-12-09 10:46:38 -08:00