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 main into releases/v2 #1893

Merged
merged 27 commits into from
Sep 19, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
8b733e7
Update ignored version number in GHES versions automation
henrymercer Sep 14, 2023
74714a3
Implement support for language aliasing
henrymercer Sep 14, 2023
897ddf2
Add PR check
henrymercer Sep 14, 2023
87a64c9
Add changelog note
henrymercer Sep 14, 2023
ac4145f
Add a deprecation warning for CodeQL 2.10.*
henrymercer Sep 14, 2023
c33f0b4
Update changelog and version after v2.21.7
github-actions[bot] Sep 14, 2023
c07fd68
Update checked-in dependencies
github-actions[bot] Sep 14, 2023
2c22b37
Add GitHub token to update dependencies workflow
henrymercer Sep 14, 2023
5f18c9a
Merge pull request #1886 from github/mergeback/v2.21.7-to-main-04daf014
cklin Sep 14, 2023
a9313c9
Merge pull request #1881 from github/henrymercer/fix-update-ghes-vers…
henrymercer Sep 15, 2023
2d646a3
Merge pull request #1887 from github/henrymercer/add-token-to-update-…
henrymercer Sep 15, 2023
3ffd6c0
Update PR check description
henrymercer Sep 15, 2023
860e98c
Update changelog note
henrymercer Sep 15, 2023
f3051ed
Merge pull request #1883 from github/henrymercer/language-aliasing
henrymercer Sep 15, 2023
a087b01
Merge branch 'main' into henrymercer/deprecation-warning-for-codeql-2…
henrymercer Sep 15, 2023
c459726
Merge pull request #1884 from github/henrymercer/deprecation-warning-…
henrymercer Sep 15, 2023
d6f9faa
Respect RAM constraints imposed by Linux cgroups
henrymercer Sep 15, 2023
d4c2687
Improve docs
henrymercer Sep 15, 2023
9bfb9ba
Handle files that exist but whose contents are not integers
henrymercer Sep 15, 2023
4254f3a
Merge pull request #1888 from github/henrymercer/constrained-ram
henrymercer Sep 18, 2023
253d9cf
Matrix CodeQL CI job over all runner images
henrymercer Sep 18, 2023
379f89d
Log cgroup RAM limits
henrymercer Sep 18, 2023
0e74cd1
Handle cgroup file containing `MAX_INT` on `ubuntu-20.04`
henrymercer Sep 18, 2023
6846be0
Address review comments
henrymercer Sep 18, 2023
f3a128e
Merge pull request #1891 from github/henrymercer/fix-cgroup-limits
henrymercer Sep 18, 2023
dd1128f
Bump the npm group with 11 updates (#1892)
dependabot[bot] Sep 18, 2023
2ca983a
Update changelog for v2.21.8
github-actions[bot] Sep 19, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
69 changes: 69 additions & 0 deletions .github/workflows/__language-aliases.yml

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

2 changes: 1 addition & 1 deletion .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ jobs:
needs: [check-codeql-versions]
strategy:
matrix:
os: [ubuntu-latest,windows-latest,macos-latest]
os: [ubuntu-20.04,ubuntu-22.04,windows-2019,windows-2022,macos-11,macos-12,macos-13]
tools: ${{ fromJson(needs.check-codeql-versions.outputs.versions) }}
runs-on: ${{ matrix.os }}

Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/update-dependencies.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,15 +15,16 @@ jobs:

- name: Remove PR label
env:
GITHUB_TOKEN: '${{ secrets.GITHUB_TOKEN }}'
REPOSITORY: '${{ github.repository }}'
PR_NUMBER: '${{ github.event.pull_request.number }}'
GITHUB_TOKEN: '${{ secrets.GITHUB_TOKEN }}'
run: |
gh api "repos/$REPOSITORY/issues/$PR_NUMBER/labels/Update%20dependencies" -X DELETE

- name: Push updated dependencies
env:
BRANCH: '${{ github.head_ref }}'
GITHUB_TOKEN: '${{ secrets.GITHUB_TOKEN }}'
run: |
git fetch origin "$BRANCH" --depth=1
git checkout "origin/$BRANCH"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ def main():
releases = json.loads(_RELEASE_FILE_PATH.read_text())

# Remove GHES version using a previous version numbering scheme.
if "11.10.340" in releases:
del releases["11.10.340"]
if "11.10" in releases:
del releases["11.10"]

oldest_supported_release = None
newest_supported_release = semver.VersionInfo.parse(api_compatibility_data["maximumVersion"] + ".0")
Expand Down
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,13 @@

See the [releases page](https://github.com/github/codeql-action/releases) for the relevant changes to the CodeQL CLI and language packs.

## 2.21.8 - 19 Sep 2023

- Add a deprecation warning for customers using CodeQL version 2.10.4 and earlier. These versions of CodeQL were discontinued on 12 September 2023 alongside GitHub Enterprise Server 3.6, and will be unsupported by the next minor release of the CodeQL Action. [#1884](https://github.com/github/codeql-action/pull/1884)
- If you are using one of these versions, please update to CodeQL CLI version 2.10.5 or later. For instance, if you have specified a custom version of the CLI using the 'tools' input to the 'init' Action, you can remove this input to use the default version.
- Alternatively, if you want to continue using a version of the CodeQL CLI between 2.9.5 and 2.10.4, you can replace `github/codeql-action/*@v2` by `github/codeql-action/*@v2.21.7` in your code scanning workflow to ensure you continue using this version of the CodeQL Action.
- Enable the following language aliases when using CodeQL 2.14.4 and later: `c-cpp` for C/C++ analysis, `java-kotlin` for Java/Kotlin analysis, and `javascript-typescript` for JavaScript/TypeScript analysis. [#1883](https://github.com/github/codeql-action/pull/1883)

## 2.21.7 - 14 Sep 2023

- Update default CodeQL bundle version to 2.14.5. [#1882](https://github.com/github/codeql-action/pull/1882)
Expand Down
2 changes: 1 addition & 1 deletion lib/analyze-action.js

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

Loading
Loading