Skip to content

Commit fdcae64

Browse files
authored
Merge pull request #1932 from github/update-v2.22.1-18e6c398c
Merge main into releases/v2
2 parents 2cb752a + 8554648 commit fdcae64

15 files changed

+129
-11
lines changed
Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
name: Test that the workaround for python 3.12 on windows works
2+
3+
on:
4+
push:
5+
branches: [main, releases/v2]
6+
pull_request:
7+
# Run checks on reopened draft PRs to support triggering PR checks on draft PRs that were opened
8+
# by other workflows.
9+
types: [opened, synchronize, reopened, ready_for_review]
10+
schedule:
11+
# Weekly on Monday.
12+
- cron: '0 0 * * 1'
13+
workflow_dispatch:
14+
15+
jobs:
16+
test-setup-python-scripts:
17+
timeout-minutes: 45
18+
runs-on: windows-latest
19+
20+
steps:
21+
- uses: actions/setup-python@v4
22+
with:
23+
python-version: 3.12
24+
25+
- uses: actions/checkout@v4
26+
27+
- name: Prepare test
28+
uses: ./.github/actions/prepare-test
29+
with:
30+
version: default
31+
32+
- name: Initialize CodeQL
33+
uses: ./../action/init
34+
with:
35+
tools: latest
36+
languages: python
37+
38+
- name: Analyze
39+
uses: ./../action/analyze
40+
with:
41+
upload-database: false

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
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.22.1 - 09 Oct 2023
6+
7+
- Add a workaround for Python 3.12, which is not supported in CodeQL CLI version 2.14.6 or earlier. If you are running an analysis on Windows and using Python 3.12 or later, the CodeQL Action will switch to running Python 3.11. In this case, if Python 3.11 is not found, then the workflow will fail. [#1928](https://github.com/github/codeql-action/pull/1928)
8+
59
## 2.22.0 - 06 Oct 2023
610

711
- The CodeQL Action now requires CodeQL version 2.10.5 or later. For more information, see the corresponding changelog entry for CodeQL Action version 2.21.8. [#1907](https://github.com/github/codeql-action/pull/1907)

lib/analyze-action.js

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

lib/analyze-action.js.map

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

lib/init-action.js

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

lib/init-action.js.map

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

lib/init.js

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

lib/init.js.map

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

node_modules/.package-lock.json

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

package-lock.json

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

0 commit comments

Comments
 (0)