Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/alexet/update-2.11.4-v2' into he…
Browse files Browse the repository at this point in the history
…nrymercer/bump-swift-version-to-5.7.1
  • Loading branch information
henrymercer committed Nov 23, 2022
2 parents b43a481 + d52e657 commit 4b578d2
Show file tree
Hide file tree
Showing 13 changed files with 15 additions and 15 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/__export-file-baseline-information.yml

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

5 changes: 2 additions & 3 deletions .github/workflows/__ml-powered-queries.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/__multi-language-autodetect.yml

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

1 change: 1 addition & 0 deletions CHANGELOG.md
Expand Up @@ -2,6 +2,7 @@

## [UNRELEASED]

- Update default CodeQL bundle version to 2.11.4. [#1391](https://github.com/github/codeql-action/pull/1391)
- Fixed a bug where some the `init` action and the `analyze` action would have different sets of experimental feature flags enabled. [#1384](https://github.com/github/codeql-action/pull/1384)

## 2.1.33 - 16 Nov 2022
Expand Down
2 changes: 1 addition & 1 deletion lib/api-compatibility.json
@@ -1 +1 @@
{ "maximumVersion": "3.7", "minimumVersion": "3.3" }
{ "maximumVersion": "3.8", "minimumVersion": "3.3" }
2 changes: 1 addition & 1 deletion lib/defaults.json
@@ -1,3 +1,3 @@
{
"bundleVersion": "codeql-bundle-20221105"
"bundleVersion": "codeql-bundle-20221123"
}
2 changes: 1 addition & 1 deletion lib/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 pr-checks/checks/export-file-baseline-information.yml
Expand Up @@ -3,7 +3,7 @@ description: "Tests that file baseline information is exported when the feature
versions: ["nightly-latest"]
steps:
- uses: swift-actions/setup-swift@5cdaa9161ad1f55ae39a5ea1784ef96de72f95d9
if: "!startsWith(matrix.os, 'windows')"
if: runner.os != 'Windows'
with:
swift-version: "5.7.1"
- uses: ./../action/init
Expand Down
4 changes: 2 additions & 2 deletions pr-checks/checks/ml-powered-queries.yml
Expand Up @@ -30,7 +30,7 @@ steps:
- name: Check sarif
uses: ./../action/.github/check-sarif
# Running on Windows requires CodeQL CLI 2.9.0+.
if: "!(matrix.version == 'stable-20220120' && (matrix.os == 'windows-latest' || matrix.os == 'windows-2019'))"
if: "!(matrix.version == 'stable-20220120' && runner.os == 'Windows')"
with:
sarif-file: ${{ runner.temp }}/results/javascript.sarif
queries-run: js/ml-powered/nosql-injection,js/ml-powered/path-injection,js/ml-powered/sql-injection,js/ml-powered/xss
Expand All @@ -39,7 +39,7 @@ steps:
- name: Check results
env:
# Running on Windows requires CodeQL CLI 2.9.0+.
SHOULD_RUN_ML_POWERED_QUERIES: ${{ !(matrix.version == 'stable-20220120' && (matrix.os == 'windows-latest' || matrix.os == 'windows-2019')) }}
SHOULD_RUN_ML_POWERED_QUERIES: ${{ !(matrix.version == 'stable-20220120' && runner.os == 'Windows') }}
shell: bash
run: |
echo "Expecting ML-powered queries to be run: ${SHOULD_RUN_ML_POWERED_QUERIES}"
Expand Down
2 changes: 1 addition & 1 deletion pr-checks/checks/multi-language-autodetect.yml
Expand Up @@ -5,7 +5,7 @@ env:
CODEQL_ENABLE_EXPERIMENTAL_FEATURES_SWIFT: "true" # Remove when Swift is GA.
steps:
- uses: swift-actions/setup-swift@5cdaa9161ad1f55ae39a5ea1784ef96de72f95d9
if: "!startsWith(matrix.os, 'windows')"
if: runner.os != 'Windows'
with:
swift-version: "5.7.1"

Expand Down
2 changes: 1 addition & 1 deletion src/api-compatibility.json
@@ -1 +1 @@
{"maximumVersion": "3.7", "minimumVersion": "3.3"}
{"maximumVersion": "3.8", "minimumVersion": "3.3"}
2 changes: 1 addition & 1 deletion src/defaults.json
@@ -1,3 +1,3 @@
{
"bundleVersion": "codeql-bundle-20221105"
"bundleVersion": "codeql-bundle-20221123"
}
2 changes: 1 addition & 1 deletion src/util.ts
Expand Up @@ -651,7 +651,7 @@ export async function checkActionVersion(version: string) {
))
) {
core.warning(
"CodeQL Action v1 will be deprecated on December 7th, 2022. Please upgrade to v2. For " +
"CodeQL Action v1 will be deprecated on January 18th, 2023. Please upgrade to v2. For " +
"more information, see " +
"https://github.blog/changelog/2022-04-27-code-scanning-deprecation-of-codeql-action-v1/"
);
Expand Down

0 comments on commit 4b578d2

Please sign in to comment.