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.
ℹ️ However, this is a major update that includes breaking changes. Artifacts created with versions v3 and below are not compatible with the v4 actions. Uploads and downloads must use the same major actions versions. There are also key differences from previous versions that may require updates to your workflows.
The default values for author and committer have changed. See "What's new" below for details. If you are overriding the default values you will not be affected by this change.
On completion, the action now removes the temporary git remote configuration it adds when using push-to-fork. This should not affect you unless you were using the temporary configuration for some other purpose after the action completes.
What's new
Updated runtime to Node.js 20
The action now requires a minimum version of v2.308.0 for the Actions runner. Update self-hosted runners to v2.308.0 or later to ensure compatibility.
The default value for author has been changed to ${{ github.actor }} <${{ github.actor_id }}+${{ github.actor }}@users.noreply.github.com>. The change adds the ${{ github.actor_id }}+ prefix to the email address to align with GitHub's standard format for the author email address.
The default value for committer has been changed to github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>. This is to align with the default GitHub Actions bot user account.
Adds input git-token, the Personal Access Token (PAT) that the action will use for git operations. This input defaults to the value of token. Use this input if you would like the action to use a different token for git operations than the one used for the GitHub API.
push-to-fork now supports pushing to sibling repositories in the same network.
Previously, when using push-to-fork, the action did not remove temporary git remote configuration it adds during execution. This has been fixed and the configuration is now removed when the action completes.
If the pull request body is truncated due to exceeding the maximum length, the action will now suffix the body with the message "...[Pull request body truncated]" to indicate that the body has been truncated.
The action now uses --unshallow only when necessary, rather than as a default argument of git fetch. This should improve performance, particularly for large git repositories with extensive commit history.
The action can now be executed on one GitHub server and create pull requests on a different GitHub server. Server products include GitHub hosted (github.com), GitHub Enterprise Server (GHES), and GitHub Enterprise Cloud (GHEC). For example, the action can be executed on GitHub hosted and create pull requests on a GHES or GHEC instance.
This release contains the following breaking changes:
The ability to apply labels based on the names of base and/or head branches was added (#186 and #54). The match object for changed files was expanded with new combinations in order to make it more intuitive and flexible (#423 and #101). As a result, the configuration file structure was significantly redesigned and is not compatible with the structure of the previous version. Please read the action documentation to find out how to adapt your configuration files for use with the new action version.
The bug related to the sync-labels input was fixed (#112). Now the input value is read correctly.
By default, dot input is set to true. Now, paths starting with a dot (e.g. .github) are matched by default.
Version 5 of this action updated the runtime to Node.js 20. All scripts are now run with Node.js 20 instead of Node.js 16 and are affected by any breaking changes between Node.js 16 and 20.
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.24.0 - 02 Feb 2024
CodeQL Python analysis will no longer install dependencies on GitHub Enterprise Server, as is already the case for GitHub.com. See release notes for 3.23.0 for more details. #2106
3.23.2 - 26 Jan 2024
On Linux, the maximum possible value for the --threads option now respects the CPU count as specified in cgroup files to more accurately reflect the number of available cores when running in containers. #2083
Update default CodeQL bundle version to 2.16.1. #2096
3.23.1 - 17 Jan 2024
Update default CodeQL bundle version to 2.16.0. #2073
Change the retention period for uploaded debug artifacts to 7 days. Previously, this was whatever the repository default was. #2079
3.23.0 - 08 Jan 2024
We are rolling out a feature in January 2024 that will disable Python dependency installation by default for all users. This improves the speed of analysis while having only a very minor impact on results. You can override this behavior by setting CODEQL_ACTION_DISABLE_PYTHON_DEPENDENCY_INSTALLATION=false in your workflow, however we plan to remove this ability in future versions of the CodeQL Action. #2031
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 ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore 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 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 ` 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 ` will remove all of the ignore conditions of the specified dependency
- `@dependabot unignore ` will remove the ignore condition of the specified dependency and ignore conditions
Bumps the github-dependencies group with 7 updates:
3.1.3
4.3.1
4.1.0
4.1.2
4.0.2
4.0.4
0.3
0.4
5.0.2
6.0.0
4.3.0
5.0.0
3.22.12
3.24.0
Updates
actions/upload-artifact
from 3.1.3 to 4.3.1Release notes
Sourced from actions/upload-artifact's releases.
Commits
5d5d22a
Merge pull request #515 from actions/eggyhead/update-artifact-v2.1.1f1e993d
update artifact license4881bfd
updating dist:a30777e
@eggyhead
3a80482
Merge pull request #511 from actions/robherley/migration-docs-typo9d63e3f
Merge branch 'main' into robherley/migration-docs-typodfa1ab2
fix typo with v3 artifact downloads in migration guided00351b
Merge pull request #509 from markmssd/patch-1707f5a7
Update limitation of10
artifacts upload to500
26f96df
Merge pull request #505 from actions/robherley/merge-artifactsUpdates
actions/download-artifact
from 4.1.0 to 4.1.2Release notes
Sourced from actions/download-artifact's releases.
Commits
eaceaf8
Merge pull request #291 from actions/eggyhead/update-artifact-v2.1.181eafdc
update artifact license9ac5cad
updating artifact dependency to version 2.1.13ad8411
Merge pull request #287 from actions/robherley/sync-migration-docs1de4643
Sync migration docs with upload-artifactbb3fa7f
Merge pull request #275 from actions/robherley/better-log-msgsa244de5
ncc355659b
clarify log messages when using pattern/merge-multiple params6b208ae
Merge pull request #274 from actions/vmjoseph/timeout-patch6c5b580
only adding updated licenseUpdates
actions/deploy-pages
from 4.0.2 to 4.0.4Release notes
Sourced from actions/deploy-pages's releases.
Commits
decdde0
Merge pull request #295 from lmammino/patch-10b3be6b
Update distributablesc2c861c
Update tests294fbcd
Merge branch 'main' into patch-12a4b535
Merge pull request #298 from SimonSiefke/fix/typo4825f57
Merge branch 'main' into fix/typofa29843
Merge pull request #310 from actions/dependabot/npm_and_yarn/actions/artifact...d005625
Update distributables after Dependabot 🤖636701b
Bump@actions/artifact
from 2.0.1 to 2.1.125b8009
Merge pull request #307 from actions/dependabot-groupingUpdates
andymckay/cancel-action
from 0.3 to 0.4Release notes
Sourced from andymckay/cancel-action's releases.
Commits
271cfbf
Merge pull request #13 from partounian/patch-12e0463b
Update node to 204351241
Merge pull request #7 from TWiStErRob/patch-1931d070
Declare latest version in readmeUpdates
peter-evans/create-pull-request
from 5.0.2 to 6.0.0Release notes
Sourced from peter-evans/create-pull-request's releases.
Commits
b1ddad2
feat: v6 (#2717)bb80902
build(deps-dev): bump@types/node
from 18.19.8 to 18.19.10 (#2712)e0037d4
build(deps): bump peter-evans/create-or-update-comment from 3 to 4 (#2702)94b1f99
build(deps): bump peter-evans/find-comment from 2 to 3 (#2703)69c27ea
build(deps-dev): bump ts-jest from 29.1.1 to 29.1.2 (#2685)7ea722a
build(deps-dev): bump prettier from 3.2.2 to 3.2.4 (#2684)5ee839a
build(deps-dev): bump@types/node
from 18.19.7 to 18.19.8 (#2683)60fc256
build(deps-dev): bump eslint-plugin-prettier from 5.1.2 to 5.1.3 (#2660)0c67723
build(deps-dev): bump@types/node
from 18.19.5 to 18.19.7 (#2661)4e288e8
build(deps-dev): bump prettier from 3.1.1 to 3.2.2 (#2659)Updates
actions/labeler
from 4.3.0 to 5.0.0Release notes
Sourced from actions/labeler's releases.
... (truncated)
Commits
8558fd7
Merge pull request #709 from actions/v5.0.0-beta000ca75
Merge pull request #700 from MaksimZhukov/apply-suggestions-and-update-docume...cb66c2f
Update dist9181355
Apply suggestions for the beta vesrion and update the documentationefe4c1c
Merge pull request #699 from MaksimZhukov/update-node-runtime-and-dependenciesc0957ad
Run Prettier8dc8d18
Update Node.js version in reusable workflowsd0d0bbe
Update documentation1375c42
5.0.0ab7411e
Change version of Node.js runtime to node20Updates
github/codeql-action
from 3.22.12 to 3.24.0Changelog
Sourced from github/codeql-action's changelog.
... (truncated)
Commits
e8893c5
Merge pull request #2113 from github/update-v3.24.0-2db03271778d6c8e
Update changelog for v3.24.02db0327
Merge pull request #2112 from github/henrymercer/status-report-handle-disk-fa...f9dea84
Status report: Handle failures determining disk usage81eb6b2
Merge pull request #2108 from github/henrymercer/build-mode-input483bef1
Merge pull request #2106 from github/rasmuswl/default-no-dep-instb58c2f6
Detail requirements for different build modesf7d5324
Update wording for CHANGELOG.md254b53d
Merge branch 'main' into henrymercer/build-mode-inpute345133
Merge pull request #2107 from github/henrymercer/refactor-configDependabot 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