Skip to content

Commit 6a28655

Browse files
authored
Merge pull request #1893 from github/update-v2.21.8-dd1128f4f
Merge main into releases/v2
2 parents 04daf01 + 2ca983a commit 6a28655

File tree

1,160 files changed

+2225
-20035
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,160 files changed

+2225
-20035
lines changed

.github/workflows/__language-aliases.yml

Lines changed: 69 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.github/workflows/codeql.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ jobs:
7373
needs: [check-codeql-versions]
7474
strategy:
7575
matrix:
76-
os: [ubuntu-latest,windows-latest,macos-latest]
76+
os: [ubuntu-20.04,ubuntu-22.04,windows-2019,windows-2022,macos-11,macos-12,macos-13]
7777
tools: ${{ fromJson(needs.check-codeql-versions.outputs.versions) }}
7878
runs-on: ${{ matrix.os }}
7979

.github/workflows/update-dependencies.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,15 +15,16 @@ jobs:
1515

1616
- name: Remove PR label
1717
env:
18+
GITHUB_TOKEN: '${{ secrets.GITHUB_TOKEN }}'
1819
REPOSITORY: '${{ github.repository }}'
1920
PR_NUMBER: '${{ github.event.pull_request.number }}'
20-
GITHUB_TOKEN: '${{ secrets.GITHUB_TOKEN }}'
2121
run: |
2222
gh api "repos/$REPOSITORY/issues/$PR_NUMBER/labels/Update%20dependencies" -X DELETE
2323
2424
- name: Push updated dependencies
2525
env:
2626
BRANCH: '${{ github.head_ref }}'
27+
GITHUB_TOKEN: '${{ secrets.GITHUB_TOKEN }}'
2728
run: |
2829
git fetch origin "$BRANCH" --depth=1
2930
git checkout "origin/$BRANCH"

.github/workflows/update-supported-enterprise-server-versions/update.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ def main():
1717
releases = json.loads(_RELEASE_FILE_PATH.read_text())
1818

1919
# Remove GHES version using a previous version numbering scheme.
20-
if "11.10.340" in releases:
21-
del releases["11.10.340"]
20+
if "11.10" in releases:
21+
del releases["11.10"]
2222

2323
oldest_supported_release = None
2424
newest_supported_release = semver.VersionInfo.parse(api_compatibility_data["maximumVersion"] + ".0")

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,13 @@
22

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

5+
## 2.21.8 - 19 Sep 2023
6+
7+
- 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)
8+
- 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.
9+
- 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.
10+
- 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)
11+
512
## 2.21.7 - 14 Sep 2023
613

714
- Update default CodeQL bundle version to 2.14.5. [#1882](https://github.com/github/codeql-action/pull/1882)

lib/analyze-action.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)