v6-beta by ericsciple · Pull Request #2298 · actions/checkout (original) (raw)
marked this pull request as ready for review
Copilot AI review requested due to automatic review settings
luketainton pushed a commit to luketainton/repos_roboluke that referenced this pull request
luketainton pushed a commit to luketainton/repos_epage that referenced this pull request
kodiakhq Bot pushed a commit to pdylanross/fatigue that referenced this pull request
Bumps actions/checkout from 5 to 6.
Release notes Sourced from actions/checkout's releases.
v6.0.0 What's Changed
Update README to include Node.js 24 support details and requirements by @salmanmkc in actions/checkout#2248 Persist creds to a separate file by @ericsciple in actions/checkout#2286 v6-beta by @ericsciple in actions/checkout#2298 update readme/changelog for v6 by @ericsciple in actions/checkout#2311
Full Changelog: actions/checkout@v5.0.0...v6.0.0 v6-beta What's Changed Updated persist-credentials to store the credentials under $RUNNER_TEMP instead of directly in the local git config. This requires a minimum Actions Runner version of v2.329.0 to access the persisted credentials for Docker container action scenarios. v5.0.1 What's Changed
Port v6 cleanup to v5 by @ericsciple in actions/checkout#2301
Full Changelog: actions/checkout@v5...v5.0.1
Changelog Sourced from actions/checkout's changelog.
Changelog V6.0.0
Persist creds to a separate file by @ericsciple in actions/checkout#2286 Update README to include Node.js 24 support details and requirements by @salmanmkc in actions/checkout#2248
V5.0.1
Port v6 cleanup to v5 by @ericsciple in actions/checkout#2301
V5.0.0
Update actions checkout to use node 24 by @salmanmkc in actions/checkout#2226
V4.3.1
Port v6 cleanup to v4 by @ericsciple in actions/checkout#2305
V4.3.0
docs: update README.md by @motss in actions/checkout#1971 Add internal repos for checking out multiple repositories by @mouismail in actions/checkout#1977 Documentation update - add recommended permissions to Readme by @benwells in actions/checkout#2043 Adjust positioning of user email note and permissions heading by @joshmgross in actions/checkout#2044 Update README.md by @nebuk89 in actions/checkout#2194 Update CODEOWNERS for actions by @TingluoHuang in actions/checkout#2224 Update package dependencies by @salmanmkc in actions/checkout#2236
v4.2.2
url-helper.ts now leverages well-known environment variables by @jww3 in actions/checkout#1941 Expand unit test coverage for isGhes by @jww3 in actions/checkout#1946
v4.2.1
Check out other refs/* by commit if provided, fall back to ref by @orhantoy in actions/checkout#1924
v4.2.0
Add Ref and Commit outputs by @lucacome in actions/checkout#1180 Dependency updates by @dependabot- actions/checkout#1777, actions/checkout#1872
v4.1.7
Bump the minor-npm-dependencies group across 1 directory with 4 updates by @dependabot in actions/checkout#1739 Bump actions/checkout from 3 to 4 by @dependabot in actions/checkout#1697 Check out other refs/* by commit by @orhantoy in actions/checkout#1774 Pin actions/checkout's own workflows to a known, good, stable version. by @jww3 in actions/checkout#1776
v4.1.6
Check platform to set archive extension appropriately by @cory-miller in actions/checkout#1732
v4.1.5
Update NPM dependencies by @cory-miller in actions/checkout#1703 Bump github/codeql-action from 2 to 3 by @dependabot in actions/checkout#1694 Bump actions/setup-node from 1 to 4 by @dependabot in actions/checkout#1696 Bump actions/upload-artifact from 2 to 4 by @dependabot in actions/checkout#1695
... (truncated)
Commits
1af3b93 update readme/changelog for v6 (#2311) 71cf226 v6-beta (#2298) 069c695 Persist creds to a separate file (#2286) ff7abcd Update README to include Node.js 24 support details and requirements (#2248) See full diff in compare view
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 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)
This was referenced
Nov 21, 2025
mergify Bot added a commit to ArcadeData/arcadedb-usecases that referenced this pull request
This was referenced
Mar 11, 2026
mergify Bot added a commit to ArcadeData/arcadedb-deployments that referenced this pull request
This was referenced
May 15, 2026
talcoh2x added a commit to Elmnt-Internal/checkout that referenced this pull request
Provide explanation for where user email came from (actions#1869)
Provide explanation for where user email came from
bringing back the newline
Add Ref and Commit outputs (actions#1180)
Signed-off-by: Luca Comellini luca.com@gmail.com
Bump the minor-npm-dependencies group across 1 directory with 4 updates (actions#1872)
Bump the minor-npm-dependencies group across 1 directory with 4 updates
Bumps the minor-npm-dependencies group with 4 updates in the / directory: eslint-plugin-jest, prettier, ts-jest and typescript.
Updates eslint-plugin-jest from 28.5.0 to 28.8.2
Updates prettier from 3.2.5 to 3.3.3
Updates ts-jest from 29.1.2 to 29.2.5
Updates typescript from 5.4.5 to 5.5.4
updated-dependencies:
- dependency-name: eslint-plugin-jest dependency-type: direct:development update-type: version-update:semver-minor dependency-group: minor-npm-dependencies
- dependency-name: prettier dependency-type: direct:development update-type: version-update:semver-minor dependency-group: minor-npm-dependencies
- dependency-name: ts-jest dependency-type: direct:development update-type: version-update:semver-minor dependency-group: minor-npm-dependencies
- dependency-name: typescript dependency-type: direct:development update-type: version-update:semver-minor dependency-group: minor-npm-dependencies ...
Signed-off-by: dependabot[bot] support@github.com
npm run build
Signed-off-by: dependabot[bot] support@github.com Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Josh Gross joshmgross@github.com
- Bump braces from 3.0.2 to 3.0.3 (actions#1777)
Bumps braces from 3.0.2 to 3.0.3.
updated-dependencies:
- dependency-name: braces dependency-type: indirect ...
Signed-off-by: dependabot[bot] support@github.com Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Prepare 4.2.0 release (actions#1878)
Bump package version to 4.1.8
Add v4.1.8 changelog
Bump version to
4.2.0Check out other refs/* by commit if provided, fall back to ref (actions#1924)
Add workflow file for publishing releases to immutable action package (actions#1919)
This workflow file publishes new action releases to the immutable action package of the same name as this repo.
This is part of the Immutable Actions project which is not yet fully released to the public. First party actions like this one are part of our initial testing of this feature.
Prepare 4.2.1 release (actions#1925)
url-helper.tsnow leverages well-known environment variables. (actions#1941)utl-helper.tsnow leverages well-known environment variables.
Co-authored-by: Erez Testiler easyt@github.com
Expand unit test coverage (actions#1946)
Prepare 4.2.2 Release (actions#1953)
Prepare 4.2.2 Release
Co-authored-by: Josh Gross joshmgross@github.com
- docs: update README.md (actions#1971)
Add a scenario where it is necessary to push a commit to a pull request.
Update README.md (actions#1977)
Documentation update - add recommended permissions to Readme (actions#2043)
Update README.md
Update README.md
Co-authored-by: Josh Gross joshmgross@github.com
Co-authored-by: Josh Gross joshmgross@github.com
Adjust positioning of user email note and permissions heading (actions#2044)
Update README.md (actions#2194)
Update CODEOWNERS for actions (actions#2224)
Update package dependencies (actions#2236)
package updates
update dist
Update license files
Prepare release v4.3.0 (actions#2237)
Update actions checkout to use node 24 (actions#2226)
use node 24
update other parts to node 24
bump to major version, audit fix, changelog
update licenses
update dist
update major version
will do separate pr for v5 and will do a minor version for previous changes
Prepare v5.0.0 release (actions#2238)
Update README to include Node.js 24 support details and requirements (actions#2248)
Update README to include Node.js 24 support details and requirements
Update
Persist creds to a separate file (actions#2286)
v6-beta (actions#2298)
update readme/changelog for v6 (actions#2311)
Update all references from v5 and v4 to v6 (actions#2314)
- Updated README.md examples to reference @v6
- Updated all workflow files to use actions/checkout@v6
Add worktree support for persist-credentials includeIf (actions#2327)
Clarify v6 README (actions#2328)
Add orchestration_id to git user-agent when ACTIONS_ORCHESTRATION_ID is set (actions#2355)
Initial plan
Add orchestration ID support to git user-agent
Co-authored-by: TingluoHuang 1750815+TingluoHuang@users.noreply.github.com
- Apply suggestion from @Copilot
Co-authored-by: Copilot 175728472+Copilot@users.noreply.github.com
- Improve tests to verify user-agent content and handle empty sanitized IDs
Co-authored-by: TingluoHuang 1750815+TingluoHuang@users.noreply.github.com
- Simplify orchestration ID validation to accept any non-empty sanitized value
Co-authored-by: TingluoHuang 1750815+TingluoHuang@users.noreply.github.com
- Remove test for orchestration ID with only invalid characters
Co-authored-by: TingluoHuang 1750815+TingluoHuang@users.noreply.github.com
Co-authored-by: copilot-swe-agent[bot] 198982749+Copilot@users.noreply.github.com Co-authored-by: TingluoHuang 1750815+TingluoHuang@users.noreply.github.com Co-authored-by: Tingluo Huang tingluohuang@github.com Co-authored-by: Copilot 175728472+Copilot@users.noreply.github.com
- Fix tag handling: preserve annotations and explicit fetch-tags (actions#2356)
This PR fixes several issues with tag handling in the checkout action:
fetch-tags: true now works (fixes actions#1471)
- Tags refspec is now included in getRefSpec() when fetchTags=true
- Previously tags were only fetched during a separate fetch that was overwritten by the main fetch
Tag checkout preserves annotations (fixes actions#290)
- Tags are fetched via refspec (+refs/tags/:refs/tags/) instead of --tags flag
- This fetches the actual tag objects, preserving annotations
Tag checkout with fetch-tags: true no longer fails (fixes actions#1467)
- When checking out a tag with fetchTags=true, only the wildcard refspec is used (specific tag refspec is redundant)
Changes:
- src/ref-helper.ts: getRefSpec() now accepts fetchTags parameter and prepends tags refspec when true
- src/git-command-manager.ts: fetch() simplified to always use --no-tags, tags are fetched explicitly via refspec
- src/git-source-provider.ts: passes fetchTags to getRefSpec()
- Added E2E test for fetch-tags option
Related actions#1471, actions#1467, actions#290
Update changelog (actions#2357)
fix: expand merge commit SHA regex and add SHA-256 test cases (actions#2414)
fix: expand merge commit SHA regex and add SHA-256 test cases
Co-authored-by: Copilot 223556219+Copilot@users.noreply.github.com
- test: add checkCommitInfo SHA coverage
Add checkCommitInfo tests for SHA-1 and SHA-256 merge messages and reject invalid 50-character hex merge heads.\n\nCo-authored-by: Copilot 223556219+Copilot@users.noreply.github.com
- style: fix Prettier formatting in test and source files
Co-authored-by: Copilot 223556219+Copilot@users.noreply.github.com
Co-authored-by: Copilot 223556219+Copilot@users.noreply.github.com
Signed-off-by: Luca Comellini luca.com@gmail.com Signed-off-by: dependabot[bot] support@github.com Co-authored-by: yasonk yason@hey.com Co-authored-by: Luca Comellini luca.com@gmail.com Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Josh Gross joshmgross@github.com Co-authored-by: Orhan Toy orhantoy@github.com Co-authored-by: Joel Ambass Jcambass@users.noreply.github.com Co-authored-by: John Wesley Walker III 81404201+jww3@users.noreply.github.com Co-authored-by: Erez Testiler easyt@github.com Co-authored-by: The web walker contact@motss.app Co-authored-by: Mohammad Ismail 96207520+mouismail@users.noreply.github.com Co-authored-by: Ben Wells benwells@github.com Co-authored-by: Ben De St Paer-Gotch nebuk89@github.com Co-authored-by: Tingluo Huang tingluohuang@github.com Co-authored-by: Salman Chishti salmanmkc@GitHub.com Co-authored-by: eric sciple ericsciple@users.noreply.github.com Co-authored-by: Copilot 198982749+Copilot@users.noreply.github.com Co-authored-by: TingluoHuang 1750815+TingluoHuang@users.noreply.github.com Co-authored-by: Copilot 175728472+Copilot@users.noreply.github.com Co-authored-by: Yashwanth Anantharaju yaananth@users.noreply.github.com Co-authored-by: Copilot 223556219+Copilot@users.noreply.github.com
mergify Bot added a commit to robfrank/amphora that referenced this pull request
bjoernboettle pushed a commit to bjoernboettle/checkout that referenced this pull request
argocd-diff-action-bot Bot pushed a commit to argocd-diff-action/argocd-diff-action that referenced this pull request
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
[ Show hidden characters]({{ revealButtonHref }})