⚠️ This version requires Node 20 or later on the runner! If you are using GitHub-managed runners, no action is needed. If you are using self-hosted runners, make sure the system version of Node is version 20 or higher.
The action will no longer leave the local repository checked out on the pull request branch. Instead, it will leave the repository checked out on the branch or commit that it was when the action started.
When using add-paths, uncommitted changes will no longer be destroyed. They will be stashed and restored at the end of the action run.
What's new
Adds input body-path, the path to a file containing the pull request body.
At the end of the action run the local repository is now checked out on the branch or commit that it was when the action started.
Any uncommitted tracked or untracked changes are now stashed and restored at the end of the action run. Currently, this can only occur when using the add-paths input, which allows for changes to not be committed. Previously, any uncommitted changes would be destroyed.
The proxy implementation has been revised but is not expected to have any change in behaviour. It continues to support the standard environment variables http_proxy, https_proxy and no_proxy.
Now sets the git safe.directory configuration for the local repository path. The configuration is removed when the action completes. Fixes issue peter-evans/create-pull-request#1170.
Now determines the git directory path using the git rev-parse --git-dir command. This allows users with custom repository configurations to use the action.
Improved handling of the team-reviewers input and associated errors.
News
:trophy: create-pull-request won an award for "awesome action" at the Open Source Awards at GitHub Universe. Thank you for your support and for making create-pull-request one of the top used actions. Please give it a :star:, or even buy me a coffee.
In scope of this release, we change Nodejs runtime from node16 to node20 (actions/setup-go#421). Moreover, we update some dependencies to the latest versions (actions/setup-go#445).
In scope of this release, slow installation on Windows was fixed by @dsame in actions/setup-go#393 and OS version was added to primaryKey for Ubuntu runners to avoid conflicts (actions/setup-go#383)
In scope of release we enable cache by default. The action won’t throw an error if the cache can’t be restored or saved. The action will throw a warning message but it won’t stop a build process. The cache can be disabled by specifying cache: false.
This change adds a minimum runner version(node12 -> node16), which can break users using an out-of-date/fork of the runner. This would be most commonly affecting users on GHES 3.3 or before, as those runners do not support node16 actions and they can use actions from github.com via github connect or manually copying the repo to their GHES instance.
Few dependencies and cache action usage examples have also been updated.
Updating actions/core to version 1.10.0
The ::save-state and ::set-output are deprecated. The newer version of actions/core >1.10.0 uses the new syntax for save and set output. After this change, customers using actions/cache@v2 won't see deprecation warning message.
v2.1.7
Support 10GB cache upload using the latest version 1.0.8 of @actions/cache
v2.1.6
Catch unhandled "bad file descriptor" errors that sometimes occurs when the cache server returns non-successful response (actions/cache#596)
v2.1.5
Fix permissions error seen when extracting caches with GNU tar that were previously created using BSD tar (actions/cache#527)
Upgrades @actions/core to v1.2.6 for CVE-2020-15228. This action was not using the affected methods.
Fix error handling in uploadChunk where 400-level errors were not being detected and handled correctly
v2.1.2
Adds input to limit the chunk upload size, useful for self-hosted runners with slower upload speeds
No-op when executing on GHES
v2.1.1
Update @actions/cache package to v1.0.2 which allows cache action to use posix format when taring files.
v2.1.0
Replaces the http-client with the Azure Storage SDK for NodeJS when downloading cache content from Azure. This should help improve download performance and reliability as the SDK downloads files in 4 MB chunks, which can be parallelized and retried independently
Updated minimum runner version support from node 12 -> node 16
3.0.1
Added support for caching from GHES 3.5.
Fixed download issue for files > 2GB during restore.
3.0.2
Added support for dynamic cache size cap on GHES.
3.0.3
Fixed avoiding empty cache save when no files are available for caching. (issue)
3.0.4
Fixed tar creation error while trying to create tar with path as ~/ home folder on ubuntu-latest. (issue)
3.0.5
Removed error handling by consuming actions/cache 3.0 toolkit, Now cache server error handling will be done by toolkit. (PR)
3.0.6
Fixed #809 - zstd -d: no such file or directory error
Fixed #833 - cache doesn't work with github workspace directory
3.0.7
Fixed #810 - download stuck issue. A new timeout is introduced in the download process to abort the download if it gets stuck and doesn't finish within an hour.
3.0.8
Fix zstd not working for windows on gnu tar in issues #888 and #891.
Allowing users to provide a custom timeout as input for aborting download of a cache segment using an environment variable SEGMENT_DOWNLOAD_TIMEOUT_MINS. Default is 60 minutes.
3.0.9
Enhanced the warning message for cache unavailablity in case of GHES.
3.0.10
Fix a bug with sorting inputs.
Update definition for restore-keys in README.md
... (truncated)
Commits
704facf Merge pull request #1236 from actions/bethanyj28/bump-version
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-actions group with 6 updates:
1.3.0
2.0.0
0
2
2
4
4.2.4
5.0.2
2
5
2
3
Updates
google-github-actions/auth
from 1.3.0 to 2.0.0Release notes
Sourced from google-github-actions/auth's releases.
Commits
67e9c72
Release: v2.0.0 (#355)0a2edc1
Fix some examples to include project_id (#353)7c4e01f
Make auth universe-aware (#352)097d292
Add protection for release branches (#351)fe92076
Add support for Direct Workload Identity auth (#348)Updates
google-github-actions/setup-gcloud
from 0 to 2Release notes
Sourced from google-github-actions/setup-gcloud's releases.
... (truncated)
Commits
8251968
Release: v2.0.0 (#664)c2599db
Update and drop unnecessary deps (#662)7c7fdb0
Add CI for release branches (#661)63496e6
Upgrade setup-cloud-sdk package (#656)602747f
Update deps to Node 20 (#653)080181a
update all deps (#644)827c57d
dependabot: only do security updates (#643)e30db14
Release: v1.1.1 (#638)4d18d8e
chore: update dependencies (automated) (#637)e31b6ff
Add support note (#634)Updates
actions/checkout
from 2 to 4Release notes
Sourced from actions/checkout's releases.
... (truncated)
Commits
b4ffde6
Link to release page from what's new section (#1514)8530928
Correct link to GitHub Docs (#1511)7cdaf2f
Update CODEOWNERS to Launch team (#1510)8ade135
Prepare 4.1.0 release (#1496)c533a0a
Add support for partial checkout filters (#1396)72f2cec
Update README.md for V4 (#1452)3df4ab1
Release 4.0.0 (#1447)8b5e8b7
Support fetching without the --progress option (#1067)97a652b
Update default runtime to node20 (#1436)f43a0e5
Release 3.6.0 (#1437)Updates
peter-evans/create-pull-request
from 4.2.4 to 5.0.2Release notes
Sourced from peter-evans/create-pull-request's releases.
Commits
1534078
fix: specify head repo (#2044)143be5d
build(deps-dev): bump@typescript-eslint/parser
from 5.59.9 to 5.59.11 (#2048)51e8ca2
build(deps-dev): bump@types/node
from 18.16.16 to 18.16.18 (#2047)712add8
build(deps-dev): bump@types/jest
from 29.5.1 to 29.5.2 (#2026)a9e8aab
build(deps-dev): bump eslint from 8.41.0 to 8.42.0 (#2024)37be4ff
build(deps-dev): bump@typescript-eslint/parser
from 5.59.8 to 5.59.9 (#2023)a5f0e5d
build(deps-dev): bump eslint-plugin-github from 4.7.0 to 4.8.0 (#2025)9ef70ee
build(deps-dev): bump@types/node
from 18.16.14 to 18.16.16 (#2009)0a28773
build(deps-dev): bump@typescript-eslint/parser
from 5.59.7 to 5.59.8 (#2008)4ddb8c8
build: update distribution (#1986)Updates
actions/setup-go
from 2 to 5Release notes
Sourced from actions/setup-go's releases.
... (truncated)
Commits
0c52d54
Update dependencies for node20 (#445)bfd2fb3
Merge pull request #421 from chenrui333/node20-runtime3d65fa5
feat: bump to use actions/checkout@v48a505c9
feat: bump to use node20 runtime883490d
Merge pull request #417 from artemgavrilov/maind45ebba
Rephrase sentence317c661
Replacewildcards
term withglobs
.f90673a
Merge pull request #1 from artemgavrilov/caching-docs-improvement8018234
Improve documentation regarding dependencies cachind085b4f
Merge pull request #411 from galargh/fix/windows-hostedtoolcacheUpdates
actions/cache
from 2 to 3Release notes
Sourced from actions/cache's releases.
Changelog
Sourced from actions/cache's changelog.
... (truncated)
Commits
704facf
Merge pull request #1236 from actions/bethanyj28/bump-version17e2888
Add to RELEASES.md667d8fd
bump action version to 3.3.2f7ebb81
Consume latest toolkit and fix dangling promise bug (#1217)67b839e
Merge pull request #1187 from jorendorff/jorendorff/rm-add-to-project57f0e3f
Remove actions to add new PRs and issues to a project board04f198b
Merge pull request #1132 from vorburger/bazel-examplebd9b49b
Merge branch 'main' into bazel-exampleea05037
Merge pull request #1122 from actions/pdotl-patch-16a1a45d
Merge branch 'main' into pdotl-patch-1Dependabot 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