Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merge releases/v3 into releases/v2 #2319

Merged
merged 45 commits into from
May 31, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
45 commits
Select commit Hold shift + click to select a range
9a1f461
Update PR description for bundle update PRs
dbartol May 15, 2024
445165b
PR Checks: disable tests for Swift on Linux until CLI 2.17.4
angelapwen May 17, 2024
46fc2c9
PR Checks: remove old versions from debug artifacts check
angelapwen May 17, 2024
23c1981
PR check: add explicit `setup-go` step to unset-env check
angelapwen May 17, 2024
b0a1d92
PR checks: stop running unset-env on two old CLI versions
angelapwen May 17, 2024
7c46681
Also remove old versions from debug artifacts download step
angelapwen May 17, 2024
b2dad92
Update changelog and version after v3.25.6
github-actions[bot] May 20, 2024
3ee86e1
Merge pull request #2299 from github/angelapwen/fix-pr-checks
henrymercer May 20, 2024
00daf24
Update checked-in dependencies
github-actions[bot] May 20, 2024
b46ca8c
Merge pull request #2301 from github/mergeback/v3.25.6-to-main-9fdb3e49
dbartol May 20, 2024
2c0b69b
Merge branch 'main' into dbartol/bundle-pr-description
henrymercer May 20, 2024
ebd27c0
Classify config file and out of disk CLI errors as config errors (#2297)
angelapwen May 20, 2024
b1bd8da
Bump the npm group with 3 updates (#2303)
dependabot[bot] May 20, 2024
cc96c82
List matching Actions caches
henrymercer May 21, 2024
087f0b0
Restrict TRAP cache cleanup to analyzed language
henrymercer May 21, 2024
acdf238
Add `steady_state_default_setup` as field to base status report (#2305)
angelapwen May 22, 2024
4fd6c0d
Look at ref rather than default branch
henrymercer May 21, 2024
0b42149
Invoke cleanup in `analyze` Action
henrymercer May 21, 2024
1bea17f
Log key and ref for which we're retrieving caches
henrymercer May 21, 2024
898dead
Use automatic pagination mapping function
henrymercer May 21, 2024
610e722
Clean up old TRAP caches
henrymercer May 21, 2024
59af9fc
Add specific error for lacking `actions:write` permission
henrymercer May 22, 2024
4f2b182
Add telemetry for TRAP cache cleanup
henrymercer May 22, 2024
6ccd563
Put TRAP cache cleanup behind a feature flag
henrymercer May 22, 2024
f7f7192
Add unit test for cleanup
henrymercer May 23, 2024
fdba1f9
Improve log message when there's nothing to clean up
henrymercer May 23, 2024
9983853
Add changelog note
henrymercer May 23, 2024
f629cb3
Add some comments to explain test case
henrymercer May 24, 2024
584871b
Merge pull request #2306 from github/henrymercer/trap-cache-space-eff…
henrymercer May 24, 2024
8c4bc43
Merge pull request #2296 from github/dbartol/bundle-pr-description
henrymercer May 24, 2024
7927df0
Bump micromatch from 4.0.5 to 4.0.7 in the npm group (#2310)
dependabot[bot] May 28, 2024
6548a4d
Add configuration error for missing auth to package registry
henrymercer May 28, 2024
9550da9
Merge pull request #2311 from github/henrymercer/pack-missing-auth-co…
henrymercer May 28, 2024
5fe0847
Update default bundle to codeql-bundle-v2.17.4
github-actions[bot] May 28, 2024
028346e
Add changelog note
github-actions[bot] May 28, 2024
9ab5d16
Merge pull request #2312 from github/update-bundle/codeql-bundle-v2.17.4
cklin May 28, 2024
bbd4e19
Revert "Update default bundle to 2.17.4"
cklin May 28, 2024
a095bf2
Merge pull request #2313 from github/revert-2312-update-bundle/codeql…
cklin May 28, 2024
e1a4268
Update changelog for v3.25.7
github-actions[bot] May 31, 2024
f079b84
Merge pull request #2317 from github/update-v3.25.7-a095bf2a1
angelapwen May 31, 2024
28cc49a
Revert "Update version and changelog for v2.25.6"
github-actions[bot] May 31, 2024
fd90298
Revert "Update checked-in dependencies"
github-actions[bot] May 31, 2024
fd8b26e
Merge remote-tracking branch 'origin/releases/v3' into backport-v2.25…
github-actions[bot] May 31, 2024
eee8c70
Update version and changelog for v2.25.7
github-actions[bot] May 31, 2024
8d9b4c6
Update checked-in dependencies
github-actions[bot] May 31, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 0 additions & 16 deletions .github/workflows/__multi-language-autodetect.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

16 changes: 0 additions & 16 deletions .github/workflows/__scaling-reserved-ram.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 0 additions & 6 deletions .github/workflows/__swift-custom-build.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

21 changes: 10 additions & 11 deletions .github/workflows/__unset-environment.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

11 changes: 6 additions & 5 deletions .github/workflows/debug-artifacts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,10 @@ jobs:
fail-fast: false
matrix:
version:
- stable-20230403
- stable-v2.13.5
- stable-v2.14.6
# TODO: Once CLI v2.17.4 is available and the platform is switched back to ubuntu,
# stable-20230403, stable-v2.13.5, and stable-v2.14.6 can be added back to this matrix,
# and the VERSIONS variable in the bash script below.
# Prior to CLI v2.15.1, ARM runners were not supported by the build tracer.
- stable-v2.15.5
- stable-v2.16.6
- default
Expand All @@ -37,7 +38,7 @@ jobs:
env:
CODEQL_ACTION_TEST_MODE: true
timeout-minutes: 45
runs-on: ubuntu-latest
runs-on: macos-latest # TODO: Switch back to ubuntu for `nightly-latest` and `latest` once CLI v2.17.4 is available.
steps:
- name: Check out repository
uses: actions/checkout@v4
Expand Down Expand Up @@ -75,7 +76,7 @@ jobs:
- name: Check expected artifacts exist
shell: bash
run: |
VERSIONS="stable-20230403 stable-v2.13.5 stable-v2.14.6 stable-v2.15.5 stable-v2.16.6 default latest nightly-latest"
VERSIONS="stable-v2.15.5 stable-v2.16.6 default latest nightly-latest"
LANGUAGES="cpp csharp go java javascript python"
for version in $VERSIONS; do
pushd "./my-debug-artifacts-${version//./}"
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/update-bundle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ jobs:
cli_version=$(jq -r '.cliVersion' src/defaults.json)
pr_url=$(gh pr create \
--title "Update default bundle to $cli_version" \
--body "This pull request updates the default CodeQL bundle, as used with \`tools: latest\` and on GHES, to $cli_version." \
--body "This pull request updates the default CodeQL bundle, as used with \`tools: linked\` and on GHES, to $cli_version." \
--assignee "$GITHUB_ACTOR" \
--draft \
)
Expand Down
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ See the [releases page](https://github.com/github/codeql-action/releases) for th

Note that the only difference between `v2` and `v3` of the CodeQL Action is the node version they support, with `v3` running on node 20 while we continue to release `v2` to support running on node 16. For example `3.22.11` was the first `v3` release and is functionally identical to `2.22.11`. This approach ensures an easy way to track exactly which features are included in different versions, indicated by the minor and patch version numbers.

## 2.25.7 - 31 May 2024

- We are rolling out a feature in May/June 2024 that will reduce the Actions cache usage of the Action by keeping only the newest TRAP cache for each language. [#2306](https://github.com/github/codeql-action/pull/2306)

## 2.25.6 - 20 May 2024

- Update default CodeQL bundle version to 2.17.3. [#2295](https://github.com/github/codeql-action/pull/2295)
Expand Down
3 changes: 2 additions & 1 deletion lib/actions-util.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion lib/actions-util.js.map

Large diffs are not rendered by default.

16 changes: 10 additions & 6 deletions lib/analyze-action.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading
Loading