Skip to content

Bump the github-actions group with 3 updates#56870

Merged
jakebailey merged 1 commit into
mainfrom
dependabot/github_actions/github-actions-9bd81da314
Jan 4, 2024
Merged

Bump the github-actions group with 3 updates#56870
jakebailey merged 1 commit into
mainfrom
dependabot/github_actions/github-actions-9bd81da314

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Dec 25, 2023

Copy link
Copy Markdown
Contributor

Bumps the github-actions group with 3 updates: actions/setup-node, github/codeql-action and actions/upload-artifact.

Updates actions/setup-node from 4.0.0 to 4.0.1

Release notes

Sourced from actions/setup-node's releases.

v4.0.1

What's Changed

New Contributors

Full Changelog: actions/setup-node@v4...v4.0.1

Commits

Updates github/codeql-action from 2.22.9 to 3.22.12

Changelog

Sourced from github/codeql-action's changelog.

CodeQL Action Changelog

See the releases page for the relevant changes to the CodeQL CLI and language packs.

Note that the only difference between v2 and v3 of the CodeQL Action is the node version they support, with v3 running on node 20 while we continue to release v2 to support running on node 16. For example 3.22.11 was the first v3 release and is functionally identical to 2.22.11. This approach ensures an easy way to track exactly which features are included in different versions, indicated by the minor and patch version numbers.

[UNRELEASED]

No user facing changes.

3.22.12 - 22 Dec 2023

  • Update default CodeQL bundle version to 2.15.5. #2047

3.22.11 - 13 Dec 2023

  • [v3+ only] The CodeQL Action now runs on Node.js v20. #2006

2.22.10 - 12 Dec 2023

  • Update default CodeQL bundle version to 2.15.4. #2016

2.22.9 - 07 Dec 2023

No user facing changes.

2.22.8 - 23 Nov 2023

  • Update default CodeQL bundle version to 2.15.3. #2001

2.22.7 - 16 Nov 2023

  • Add a deprecation warning for customers using CodeQL version 2.11.5 and earlier. These versions of CodeQL were discontinued on 8 November 2023 alongside GitHub Enterprise Server 3.7, and will be unsupported by CodeQL Action v2.23.0 and later. #1993
    • If you are using one of these versions, please update to CodeQL CLI version 2.11.6 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.10.5 and 2.11.5, you can replace github/codeql-action/*@v2 by github/codeql-action/*@v2.22.7 in your code scanning workflow to ensure you continue using this version of the CodeQL Action.

2.22.6 - 14 Nov 2023

  • Customers running Python analysis on macOS using version 2.14.6 or earlier of the CodeQL CLI should upgrade to CodeQL CLI version 2.15.0 or later. If you do not wish to upgrade the CodeQL CLI, ensure that you are using Python version 3.11 or earlier, as CodeQL version 2.14.6 and earlier do not support Python 3.12. You can achieve this by adding a setup-python step to your code scanning workflow before the step that invokes github/codeql-action/init.
  • Update default CodeQL bundle version to 2.15.2. #1978

2.22.5 - 27 Oct 2023

No user facing changes.

2.22.4 - 20 Oct 2023

  • Update default CodeQL bundle version to 2.15.1. #1953
  • Users will begin to see warnings on Node.js 16 deprecation in their Actions logs on code scanning runs starting October 23, 2023.
    • All code scanning workflows should continue to succeed regardless of the warning.

... (truncated)

Commits
  • 012739e Merge pull request #2052 from github/update-v3.22.12-40cb08c12
  • c1cf794 Update changelog for v3.22.12
  • 40cb08c Merge pull request #2051 from github/angelapwen/patch-release-script
  • 0be9290 Typecast OLDEST_SUPPORTED_MAJOR_VERSION when defined
  • 658e3c6 Fix type error
  • 49812ec Merge pull request #2050 from github/nickfyson/add-releases-ini
  • 9ed5fc7 add note about backporting check changes to v2 branch
  • a42c9a2 update required checks script to handle release branches
  • a110746 Merge pull request #2047 from github/update-bundle/codeql-bundle-v2.15.5
  • a99bd84 Add changelog note
  • Additional commits viewable in compare view

Updates actions/upload-artifact from 3.1.3 to 4.0.0

Release notes

Sourced from actions/upload-artifact's releases.

v4.0.0

What's Changed

The release of upload-artifact@v4 and download-artifact@v4 are major changes to the backend architecture of Artifacts. They have numerous performance and behavioral improvements.

For more information, see the @​actions/artifact documentation.

New Contributors

Full Changelog: actions/upload-artifact@v3...v4.0.0

Commits

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 commands and options

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 <dependency name> major version will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
  • @dependabot ignore <dependency name> minor version will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
  • @dependabot ignore <dependency name> will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
  • @dependabot unignore <dependency name> will remove all of the ignore conditions of the specified dependency
  • @dependabot unignore <dependency name> <ignore condition> will remove the ignore condition of the specified dependency and ignore conditions

@dependabot dependabot Bot added the dependencies Pull requests that update a dependency file label Dec 25, 2023
@typescript-bot typescript-bot added For Uncommitted Bug PR for untriaged, rejected, closed or missing bug labels Dec 25, 2023
@typescript-bot

Copy link
Copy Markdown
Contributor

This PR doesn't have any linked issues. Please open an issue that references this PR. From there we can discuss and prioritise.

1 similar comment
@typescript-bot

Copy link
Copy Markdown
Contributor

This PR doesn't have any linked issues. Please open an issue that references this PR. From there we can discuss and prioritise.

@dependabot dependabot Bot force-pushed the dependabot/github_actions/github-actions-9bd81da314 branch from 5745045 to d9cabbf Compare January 1, 2024 00:35
@sandersn sandersn added the Housekeeping Housekeeping PRs label Jan 3, 2024

@sandersn sandersn left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd like one other sign off so at least two people are aware that (for example) codeql is updating from 2.22 to 3.22

@sandersn sandersn assigned sandersn and jakebailey and unassigned sandersn Jan 3, 2024
@sandersn sandersn requested a review from jakebailey January 3, 2024 17:44

@jakebailey jakebailey left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actually, this fails CI. Some line endings are wrong. Will have to look into that.

@sandersn

sandersn commented Jan 3, 2024

Copy link
Copy Markdown
Member

How can somebody investigate this? I'm not sure how to replicate what dependabot does locally.

@jakebailey

Copy link
Copy Markdown
Member

It's likely that the files are CRLF but dependabot emits LF (good) unconditionally. The fix is to just switch the files to be the other line endings and let them be that way. The confusing part is that that change is not showing in the diff here, which usually happens

@jakebailey

Copy link
Copy Markdown
Member

What I believe is happening here is a bug in dependabot. It is modifying the file in place but using the wrong newline for the change. Each of the files that are being flagged by dprint are CRLF, so if dependabot replaces the line using an LF, diff viewers may not actually notice. But, since dprint is trying to make it consistent within a file (back to CRLF), it fails in CI and locally, producing a confusing diff like:

diff --git a/.github/workflows/new-release-branch.yaml b/.github/workflows/new-release-branch.yaml
index cfd8142c00..1183bf24df 100644
--- a/.github/workflows/new-release-branch.yaml
+++ b/.github/workflows/new-release-branch.yaml
@@ -23,7 +23,7 @@ jobs:
           filter: blob:none # https://github.blog/2020-12-21-get-up-to-speed-with-partial-clone-and-shallow-clone/
           fetch-depth: 0 # Default is 1; need to set to 0 to get the benefits of blob:none.
           token: ${{ secrets.TS_BOT_GITHUB_TOKEN }}
-      - uses: actions/setup-node@b39b52d1213e96004bfcb1c61a8a6fa8ab84f3e8 # v4.0.1
+      - uses: actions/setup-node@b39b52d1213e96004bfcb1c61a8a6fa8ab84f3e8 # v4.0.1
       - run: |
           npm --version
           # corepack enable npm

But, you can see that there's a missing \r if you look at the file in the PR:

image

I've filed this on dependabot as dependabot/dependabot-core#8693, but for a quick fix locally the only workaround is to reformat these files as LF first. Which is totally fine and honestly preferred in my view.

@jakebailey

Copy link
Copy Markdown
Member

@dependabot rebase

Bumps the github-actions group with 3 updates: [actions/setup-node](https://github.com/actions/setup-node), [github/codeql-action](https://github.com/github/codeql-action) and [actions/upload-artifact](https://github.com/actions/upload-artifact).


Updates `actions/setup-node` from 4.0.0 to 4.0.1
- [Release notes](https://github.com/actions/setup-node/releases)
- [Commits](actions/setup-node@8f152de...b39b52d)

Updates `github/codeql-action` from 2.22.9 to 3.22.12
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](github/codeql-action@c0d1daa...012739e)

Updates `actions/upload-artifact` from 3.1.3 to 4.0.0
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](actions/upload-artifact@a8a3f3a...c7d193f)

---
updated-dependencies:
- dependency-name: actions/setup-node
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: github-actions
- dependency-name: github/codeql-action
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: github-actions
- dependency-name: actions/upload-artifact
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: github-actions
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot force-pushed the dependabot/github_actions/github-actions-9bd81da314 branch from d9cabbf to 25be907 Compare January 4, 2024 18:32
@jakebailey jakebailey merged commit 9a47033 into main Jan 4, 2024
@jakebailey jakebailey deleted the dependabot/github_actions/github-actions-9bd81da314 branch January 4, 2024 18:55
@microsoft microsoft locked as resolved and limited conversation to collaborators Oct 16, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

dependencies Pull requests that update a dependency file For Uncommitted Bug PR for untriaged, rejected, closed or missing bug Housekeeping Housekeeping PRs

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

3 participants