Skip to content

Commit

Permalink
Bump github/codeql-action from 2.21.9 to 2.22.1 (#23)
Browse files Browse the repository at this point in the history
Bumps [github/codeql-action](https://github.com/github/codeql-action)
from 2.21.9 to 2.22.1.
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/github/codeql-action/blob/main/CHANGELOG.md">github/codeql-action's
changelog</a>.</em></p>
<blockquote>
<h1>CodeQL Action Changelog</h1>
<p>See the <a
href="https://github.com/github/codeql-action/releases">releases
page</a> for the relevant changes to the CodeQL CLI and language
packs.</p>
<h2>[UNRELEASED]</h2>
<ul>
<li>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. <a
href="https://redirect.github.com/github/codeql-action/pull/1928">#1928</a></li>
</ul>
<h2>2.22.0 - 06 Oct 2023</h2>
<ul>
<li>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. <a
href="https://redirect.github.com/github/codeql-action/pull/1907">#1907</a></li>
<li>The CodeQL Action no longer runs ML-powered queries. For more
information, including details on our investment in AI-powered security
technology, see <a
href="https://github.blog/changelog/2023-09-29-codeql-code-scanning-deprecates-ml-powered-alerts/">&quot;CodeQL
code scanning deprecates ML-powered alerts.&quot;</a> <a
href="https://redirect.github.com/github/codeql-action/pull/1910">#1910</a></li>
<li>Fix a bug which prevented tracing of projects using Go 1.21 and
above on Linux. <a
href="https://redirect.github.com/github/codeql-action/pull/1909">#1909</a></li>
</ul>
<h2>2.21.9 - 27 Sep 2023</h2>
<ul>
<li>Update default CodeQL bundle version to 2.14.6. <a
href="https://redirect.github.com/github/codeql-action/pull/1897">#1897</a></li>
<li>We are rolling out a feature in October 2023 that will improve the
success rate of C/C++ autobuild. <a
href="https://redirect.github.com/github/codeql-action/pull/1889">#1889</a></li>
<li>We are rolling out a feature in October 2023 that will provide
specific file coverage information for C and C++, Java and Kotlin, and
JavaScript and TypeScript. Currently file coverage information for each
of these pairs of languages is grouped together. <a
href="https://redirect.github.com/github/codeql-action/pull/1903">#1903</a></li>
<li>Add a warning to help customers avoid inadvertently analyzing the
same CodeQL language in multiple matrix jobs. <a
href="https://redirect.github.com/github/codeql-action/pull/1901">#1901</a></li>
</ul>
<h2>2.21.8 - 19 Sep 2023</h2>
<ul>
<li>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. <a
href="https://redirect.github.com/github/codeql-action/pull/1884">#1884</a>
<ul>
<li>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.</li>
<li>Alternatively, if you want to continue using a version of the CodeQL
CLI between 2.9.5 and 2.10.4, you can replace
<code>github/codeql-action/*@v2</code> by
<code>github/codeql-action/*@v2.21.7</code> in your code scanning
workflow to ensure you continue using this version of the CodeQL
Action.</li>
</ul>
</li>
<li>Enable the following language aliases when using CodeQL 2.14.4 and
later: <code>c-cpp</code> for C/C++ analysis, <code>java-kotlin</code>
for Java/Kotlin analysis, and <code>javascript-typescript</code> for
JavaScript/TypeScript analysis. <a
href="https://redirect.github.com/github/codeql-action/pull/1883">#1883</a></li>
</ul>
<h2>2.21.7 - 14 Sep 2023</h2>
<ul>
<li>Update default CodeQL bundle version to 2.14.5. <a
href="https://redirect.github.com/github/codeql-action/pull/1882">#1882</a></li>
</ul>
<h2>2.21.6 - 13 Sep 2023</h2>
<ul>
<li>Better error message when there is a failure to determine the merge
base of the code to analysis. <a
href="https://redirect.github.com/github/codeql-action/pull/1860">#1860</a></li>
<li>Improve the calculation of default amount of RAM used for query
execution on GitHub Enterprise Server. This now reduces in proportion to
the runner's total memory to better account for system memory usage,
helping to avoid out-of-memory failures on larger runners. This feature
is already available to GitHub.com users. <a
href="https://redirect.github.com/github/codeql-action/pull/1866">#1866</a></li>
<li>Enable improved file coverage information for GitHub Enterprise
Server users. This feature is already available to GitHub.com users. <a
href="https://redirect.github.com/github/codeql-action/pull/1867">#1867</a></li>
<li>Update default CodeQL bundle version to 2.14.4. <a
href="https://redirect.github.com/github/codeql-action/pull/1873">#1873</a></li>
</ul>
<h2>2.21.5 - 28 Aug 2023</h2>
<ul>
<li>Update default CodeQL bundle version to 2.14.3. <a
href="https://redirect.github.com/github/codeql-action/pull/1845">#1845</a></li>
<li>Fixed a bug in CodeQL Action 2.21.3 onwards that affected beta
support for <a href="https://projectlombok.org/">Project Lombok</a> when
analyzing Java. The environment variable
<code>CODEQL_EXTRACTOR_JAVA_RUN_ANNOTATION_PROCESSORS</code> will now be
respected if it was manually configured in the workflow. <a
href="https://redirect.github.com/github/codeql-action/pull/1844">#1844</a></li>
<li>Enable support for Kotlin 1.9.20 when running with CodeQL CLI
v2.13.4 through v2.14.3. <a
href="https://redirect.github.com/github/codeql-action/pull/1853">#1853</a></li>
</ul>
<h2>2.21.4 - 14 Aug 2023</h2>
<ul>
<li>Update default CodeQL bundle version to 2.14.2. <a
href="https://redirect.github.com/github/codeql-action/pull/1831">#1831</a></li>
<li>Log a warning if the amount of available disk space runs low during
a code scanning run. <a
href="https://redirect.github.com/github/codeql-action/pull/1825">#1825</a></li>
<li>When downloading CodeQL bundle version 2.13.4 and later, cache these
bundles in the Actions tool cache using a simpler version number. <a
href="https://redirect.github.com/github/codeql-action/pull/1832">#1832</a></li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/github/codeql-action/commit/fdcae64e1484d349b3366718cdfef3d404390e85"><code>fdcae64</code></a>
Merge pull request <a
href="https://redirect.github.com/github/codeql-action/issues/1932">#1932</a>
from github/update-v2.22.1-18e6c398c</li>
<li><a
href="https://github.com/github/codeql-action/commit/8554648f4166b879f10ae85f988366f33c141e98"><code>8554648</code></a>
Update changelog for v2.22.1</li>
<li><a
href="https://github.com/github/codeql-action/commit/18e6c398cedeb4cbcc309db7368bce694114d557"><code>18e6c39</code></a>
Merge pull request <a
href="https://redirect.github.com/github/codeql-action/issues/1930">#1930</a>
from github/aeisenberg-patch-1</li>
<li><a
href="https://github.com/github/codeql-action/commit/5e34d08d9e10dfaf5fb9687cdc86cca9a464d3da"><code>5e34d08</code></a>
Link PR and fix case of Python</li>
<li><a
href="https://github.com/github/codeql-action/commit/faf91ca6bdfbb188e08c26988cb8f7dcedcff3b1"><code>faf91ca</code></a>
Merge pull request <a
href="https://redirect.github.com/github/codeql-action/issues/1926">#1926</a>
from github/mbg/suppress-go-workaround-warning</li>
<li><a
href="https://github.com/github/codeql-action/commit/ffaea6c83728a7e5cc45649783ad7df1a269b538"><code>ffaea6c</code></a>
Merge branch 'main' into mbg/suppress-go-workaround-warning</li>
<li><a
href="https://github.com/github/codeql-action/commit/0a0988c4b2b3e3d28e737f37754ce5a4398df4fd"><code>0a0988c</code></a>
Update CHANGELOG.md</li>
<li><a
href="https://github.com/github/codeql-action/commit/0d5c2e0228a3cc9f86bf47c899e6c37286189a70"><code>0d5c2e0</code></a>
Merge pull request <a
href="https://redirect.github.com/github/codeql-action/issues/1928">#1928</a>
from github/aeisenberg/fix-python312</li>
<li><a
href="https://github.com/github/codeql-action/commit/94b6970619642ae1a60a8a65a875ed636a9d1e0c"><code>94b6970</code></a>
Update CHANGELOG.md</li>
<li><a
href="https://github.com/github/codeql-action/commit/669c61022cfc3e7ad3cb72077890e6352782a071"><code>669c610</code></a>
Add a feature flag to turn this off for newer versions of codeql</li>
<li>Additional commits viewable in <a
href="https://github.com/github/codeql-action/compare/ddccb873888234080b77e9bc2d4764d5ccaaccf9...fdcae64e1484d349b3366718cdfef3d404390e85">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=github/codeql-action&package-manager=github_actions&previous-version=2.21.9&new-version=2.22.1)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)


</details>

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
  • Loading branch information
dependabot[bot] authored Oct 9, 2023
1 parent c741a09 commit 14ed652
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ jobs:

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@ddccb873888234080b77e9bc2d4764d5ccaaccf9 # v2.1.34
uses: github/codeql-action/init@fdcae64e1484d349b3366718cdfef3d404390e85 # v2.1.34
with:
languages: ${{ matrix.language }}
# If you wish to specify custom queries, you can do so here or in a config file.
Expand All @@ -59,7 +59,7 @@ jobs:
# Autobuild attempts to build any compiled languages (C/C++, C#, Go, or Java).
# If this step fails, then you should remove it and run the build manually (see below)
- name: Autobuild
uses: github/codeql-action/autobuild@ddccb873888234080b77e9bc2d4764d5ccaaccf9 # v2.1.34
uses: github/codeql-action/autobuild@fdcae64e1484d349b3366718cdfef3d404390e85 # v2.1.34

# ℹ️ Command-line programs to run using the OS shell.
# 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun
Expand All @@ -72,6 +72,6 @@ jobs:
# ./location_of_script_within_repo/buildscript.sh

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@ddccb873888234080b77e9bc2d4764d5ccaaccf9 # v2.1.34
uses: github/codeql-action/analyze@fdcae64e1484d349b3366718cdfef3d404390e85 # v2.1.34
with:
category: "/language:${{matrix.language}}"
2 changes: 1 addition & 1 deletion .github/workflows/scorecard.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,6 @@ jobs:

# Upload the results to GitHub's code scanning dashboard.
- name: "Upload to code-scanning"
uses: github/codeql-action/upload-sarif@ddccb873888234080b77e9bc2d4764d5ccaaccf9 # v2.21.9
uses: github/codeql-action/upload-sarif@fdcae64e1484d349b3366718cdfef3d404390e85 # v2.22.1
with:
sarif_file: results.sarif

0 comments on commit 14ed652

Please sign in to comment.