Repository navigation
Support fetching without the --progress option - #1067
Conversation
|
I'm using it here and it seems to work well. |
|
This workflow run shows it working with the |
51e92ef to
87596e0
Compare
|
@TingluoHuang would this be something you'd consider taking a look at? I'm looking at your comments from 2019 on #18. |
|
What is blocking this change? I am looking forward to seeing this released as well |
87596e0 to
3327cce
Compare
|
Rebased on upstream/main, (currently f095bcc). |
|
Passes formatting and lint checks for me locally: And tests: |
|
I reworded the PR description and added some additional explanations. |
|
@ericsciple WDYT? |
3327cce to
ce4272e
Compare
|
Rebased on 96f5310. |
ce4272e to
d053b2f
Compare
|
|
Guys, what is blocking this? Would be really nice to have. Currently the checkout pollutes my logs. |
|
@luketomlinson are you able to comment, there are a lot of people wanting this. |
|
Well, currently there are conflicts. It would help if we can resolve these first. Otherwise it'll take more time before this is looked at again @simonbaird Could you please work on that? |
|
I'll give it another rebase. |
Setting the `progress` option to false in the `with` section of the workflow step will cause git fetch to run without `--progress`. The motivation is to be able to suppress the noisy progress status output which adds many hundreds of "remote: Counting objects: 85% (386/453)" and similar lines in the workflow log. This should be sufficient to resolve actions#894 and its older friends, though the solution is different to the one proposed there because it doesn't use the --quiet flag. IIUC git doesn't show the progress status by default since the output is not a terminal, so that's why removing the --progress option is all that's needed. Adding the --quiet flag doesn't make a lot of difference once the --progress flag is removed, and actually I think using --quiet would suppress some other more useful output that would be better left visible. Signed-off-by: Simon Baird <sbaird@redhat.com>
d053b2f to
4d7e069
Compare
|
Rebased on upstream/main (currently at 97a652b). Now includes some test coverage 😎 . |
| showProgress: true | ||
| } | ||
|
|
||
| await git.fetch(refSpec, options) |
There was a problem hiding this comment.
It might be nice to merge these options onto the default option values here so the assertions become more like real world examples. (This is just an idea for a separate PR though.)
| ], | ||
| expect.any(Object) | ||
| ) | ||
| }) |
There was a problem hiding this comment.
I'd be happy to remove some of the test coverage if it's considered too much. I was trying to follow the example set in #579 .
There was a problem hiding this comment.
Too much coverage is rarely a problem. Thank you for the detailed effort!
vanZeben
left a comment
There was a problem hiding this comment.
Thanks for putting this together @simonbaird, especially with the comprehensive test coverage! 🎉 I'll cut a release for this later today
|
I lied, checking internally, we're planning on cutting a new Major version release next week to include the recent node20 bump, that major release will include this too, so look forward to |
Also disable --progress. It is not disabled by default for backward compatibility, but solves the problem of lots of progress lines in the downloadable raw output: actions/checkout#1067
Also disable --progress. It is not disabled by default for backward compatibility, but solves the problem of lots of progress lines in the downloadable raw output: actions/checkout#1067
Also disable --progress. It is not disabled by default for backward compatibility, but solves the problem of lots of progress lines in the downloadable raw output: actions/checkout#1067
Also disable --progress. It is not disabled by default for backward compatibility, but solves the problem of lots of progress lines in the downloadable raw output: actions/checkout#1067
## [1.0.1](v1.0.0...v1.0.1) (2024-03-15) ### chore * dependabot updates setup ([#2](#2)) ([7e71810](7e71810)) * **deps-dev:** bump [@commitlint](https://github.com/commitlint)/cli from 19.1.0 to 19.2.0 ([#5](#5)) ([737d89b](737d89b)) * **deps-dev:** bump [@types](https://github.com/types)/node from 20.11.26 to 20.11.27 ([#8](#8)) ([ba41253](ba41253)) * **deps-dev:** bump semantic-release from 23.0.2 to 23.0.3 ([#6](#6)) ([7d29884](7d29884)) * **deps:** bump actions/checkout from 2 to 4 ([#4](#4)) ([f35995a](f35995a)), closes [actions/checkout#1436](actions/checkout#1436) [actions/checkout#1067](actions/checkout#1067) [actions/checkout#1447](actions/checkout#1447) [actions/checkout#1436](actions/checkout#1436) [actions/checkout#1067](actions/checkout#1067) [actions/checkout#1377](actions/checkout#1377) [actions/checkout#579](actions/checkout#579) [actions/checkout#1437](actions/checkout#1437) [actions/checkout#579](actions/checkout#579) [actions/checkout#1437](actions/checkout#1437) [actions/checkout#1196](actions/checkout#1196) [actions/checkout#1287](actions/checkout#1287) [actions/checkout#1369](actions/checkout#1369) [actions/checkout#1376](actions/checkout#1376) [actions/checkout#1196](actions/checkout#1196) [actions/checkout#1287](actions/checkout#1287) [actions/checkout#1369](actions/checkout#1369) [actions/checkout#1289](actions/checkout#1289) [#1286](https://github.com/capitnflam/eslint-plugin/issues/1286) [actions/checkout#1246](actions/checkout#1246) [actions/checkout#1246](actions/checkout#1246) [actions/checkout#1598](actions/checkout#1598) [actions/checkout#1511](actions/checkout#1511) [actions/checkout#1514](actions/checkout#1514) [#770](https://github.com/capitnflam/eslint-plugin/issues/770) [actions/checkout#1057](actions/checkout#1057) [#1514](https://github.com/capitnflam/eslint-plugin/issues/1514) [#1511](https://github.com/capitnflam/eslint-plugin/issues/1511) [#1510](https://github.com/capitnflam/eslint-plugin/issues/1510) [#1496](https://github.com/capitnflam/eslint-plugin/issues/1496) [#1396](https://github.com/capitnflam/eslint-plugin/issues/1396) [#1452](https://github.com/capitnflam/eslint-plugin/issues/1452) [#1447](https://github.com/capitnflam/eslint-plugin/issues/1447) [#1067](https://github.com/capitnflam/eslint-plugin/issues/1067) [#1436](https://github.com/capitnflam/eslint-plugin/issues/1436) [#1437](https://github.com/capitnflam/eslint-plugin/issues/1437) * **deps:** bump actions/setup-node from 2 to 4 ([#3](#3)) ([b003245](b003245)), closes [actions/setup-node#866](actions/setup-node#866) [actions/setup-node#868](actions/setup-node#868) [actions/setup-node#876](actions/setup-node#876) [actions/setup-node#868](actions/setup-node#868) [actions/setup-node#861](actions/setup-node#861) [actions/setup-node#859](actions/setup-node#859) [actions/setup-node#870](actions/setup-node#870) [actions/setup-node#872](actions/setup-node#872) [actions/setup-node#875](actions/setup-node#875) [actions/setup-node#831](actions/setup-node#831) [actions/setup-node#803](actions/setup-node#803) [actions/setup-node#809](actions/setup-node#809) [actions/setup-node#816](actions/setup-node#816) [actions/setup-node#794](actions/setup-node#794) [actions/setup-node#710](actions/setup-node#710) [actions/setup-node#812](actions/setup-node#812) [actions/setup-node#808](actions/setup-node#808) [actions/setup-node#804](actions/setup-node#804) [actions/setup-node#802](actions/setup-node#802) [actions/setup-node#807](actions/setup-node#807) [#927](https://github.com/capitnflam/eslint-plugin/issues/927) [#921](https://github.com/capitnflam/eslint-plugin/issues/921) [#865](https://github.com/capitnflam/eslint-plugin/issues/865) [#879](https://github.com/capitnflam/eslint-plugin/issues/879) [#898](https://github.com/capitnflam/eslint-plugin/issues/898) [#917](https://github.com/capitnflam/eslint-plugin/issues/917) [#889](https://github.com/capitnflam/eslint-plugin/issues/889) [#884](https://github.com/capitnflam/eslint-plugin/issues/884) [#882](https://github.com/capitnflam/eslint-plugin/issues/882) [#876](https://github.com/capitnflam/eslint-plugin/issues/876) * **deps:** bump eslint-plugin-react from 7.33.2 to 7.34.0 ([#7](#7)) ([cc5ea82](cc5ea82))
This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [actions/checkout](https://github.com/actions/checkout) | action | major | `v3` -> `v4` | --- ### Release Notes <details> <summary>actions/checkout (actions/checkout)</summary> ### [`v4`](https://github.com/actions/checkout/blob/HEAD/CHANGELOG.md#v400) [Compare Source](actions/checkout@v3...v4) - [Support fetching without the --progress option](actions/checkout#1067) - [Update to node20](actions/checkout#1436) </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNi43OS4xIiwidXBkYXRlZEluVmVyIjoiMzYuNzkuMSIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==--> Reviewed-on: https://gitea.com/gitea/terraform-provider-gitea/pulls/19 Co-authored-by: Renovate Bot <renovate-bot@gitea.com> Co-committed-by: Renovate Bot <renovate-bot@gitea.com>
##### [vv7.0.1](https://github.com/actions/checkout/blob/HEAD/CHANGELOG.md#v701) - Skip running unsafe pr check if input is default by [@aiqiaoy](https://github.com/aiqiaoy) in [#2518](actions/checkout#2518) - Trim only ascii whitespace for branch by [@aiqiaoy](https://github.com/aiqiaoy) in [#2521](actions/checkout#2521) - Escape values passed to --unset by [@aiqiaoy](https://github.com/aiqiaoy) in [#2530](actions/checkout#2530) - Various dependency updates ##### [vv7.0.0](https://github.com/actions/checkout/blob/HEAD/CHANGELOG.md#v700) - Block checking out fork PR for pull_request_target and workflow_run by [@aiqiaoy](https://github.com/aiqiaoy) in [#2454](actions/checkout#2454) - Various dependency updates ##### [vv6.1.0](https://github.com/actions/checkout/releases/tag/v6.1.0) ##### What's Changed - **\[BREAKING]** backport `allow-unsafe-pr-checkout` to v6 by [@aiqiaoy](https://github.com/aiqiaoy) in [#2500](actions/checkout#2500) - backport fixes to releases-v6 by [@aiqiaoy](https://github.com/aiqiaoy) in [#2527](actions/checkout#2527) <https://github.blog/changelog/2026-06-18-safer-pull_request_target-defaults-for-github-actions-checkout/> for more details about this breaking change **Full Changelog**: <actions/checkout@v6.0.3...v6.1.0> ##### [vv6.0.3](https://github.com/actions/checkout/blob/HEAD/CHANGELOG.md#v603) - Fix checkout init for SHA-256 repositories by [@yaananth](https://github.com/yaananth) in [#2439](actions/checkout#2439) - fix: expand merge commit SHA regex and add SHA-256 test cases by [@yaananth](https://github.com/yaananth) in [#2414](actions/checkout#2414) ##### [vv6.0.2](https://github.com/actions/checkout/blob/HEAD/CHANGELOG.md#v602) - Fix tag handling: preserve annotations and explicit fetch-tags by [@ericsciple](https://github.com/ericsciple) in [#2356](actions/checkout#2356) ##### [vv6.0.1](https://github.com/actions/checkout/blob/HEAD/CHANGELOG.md#v601) - Add worktree support for persist-credentials includeIf by [@ericsciple](https://github.com/ericsciple) in [#2327](actions/checkout#2327) ##### [vv6.0.0](https://github.com/actions/checkout/blob/HEAD/CHANGELOG.md#v600) - Persist creds to a separate file by [@ericsciple](https://github.com/ericsciple) in [#2286](actions/checkout#2286) - Update README to include Node.js 24 support details and requirements by [@salmanmkc](https://github.com/salmanmkc) in [#2248](actions/checkout#2248) ##### [vv5.1.0](https://github.com/actions/checkout/releases/tag/v5.1.0) ##### What's Changed - **\[BREAKING]** backport `allow-unsafe-pr-checkout` to v5 by [@aiqiaoy](https://github.com/aiqiaoy) in [#2501](actions/checkout#2501) - backport fixes to releases-v5 by [@aiqiaoy](https://github.com/aiqiaoy) in [#2523](actions/checkout#2523) <https://github.blog/changelog/2026-06-18-safer-pull_request_target-defaults-for-github-actions-checkout/> for more details about this breaking change **Full Changelog**: <actions/checkout@v5.0.1...v5.1.0> ##### [vv5.0.1](https://github.com/actions/checkout/blob/HEAD/CHANGELOG.md#v501) - Port v6 cleanup to v5 by [@ericsciple](https://github.com/ericsciple) in [#2301](actions/checkout#2301) ##### [vv5.0.0](https://github.com/actions/checkout/blob/HEAD/CHANGELOG.md#v500) - Update actions checkout to use node 24 by [@salmanmkc](https://github.com/salmanmkc) in [#2226](actions/checkout#2226) ##### [vv4.4.0](https://github.com/actions/checkout/releases/tag/v4.4.0) #### What's Changed - **\[BREAKING]** backport `allow-unsafe-pr-checkout` to v4 by [@aiqiaoy](https://github.com/aiqiaoy) in [#2502](actions/checkout#2502) - backport fixes to releases-v4 by [@aiqiaoy](https://github.com/aiqiaoy) in [#2524](actions/checkout#2524) <https://github.blog/changelog/2026-06-18-safer-pull_request_target-defaults-for-github-actions-checkout/> for more details about this breaking change **Full Changelog**: <actions/checkout@v4.3.1...v4.4.0> ##### [vv4.3.1](https://github.com/actions/checkout/blob/HEAD/CHANGELOG.md#v431) - Port v6 cleanup to v4 by [@ericsciple](https://github.com/ericsciple) in [#2305](actions/checkout#2305) ##### [vv4.3.0](https://github.com/actions/checkout/blob/HEAD/CHANGELOG.md#v430) - docs: update README.md by [@motss](https://github.com/motss) in [#1971](actions/checkout#1971) - Add internal repos for checking out multiple repositories by [@mouismail](https://github.com/mouismail) in [#1977](actions/checkout#1977) - Documentation update - add recommended permissions to Readme by [@benwells](https://github.com/benwells) in [#2043](actions/checkout#2043) - Adjust positioning of user email note and permissions heading by [@joshmgross](https://github.com/joshmgross) in [#2044](actions/checkout#2044) - Update README.md by [@nebuk89](https://github.com/nebuk89) in [#2194](actions/checkout#2194) - Update CODEOWNERS for actions by [@TingluoHuang](https://github.com/TingluoHuang) in [#2224](actions/checkout#2224) - Update package dependencies by [@salmanmkc](https://github.com/salmanmkc) in [#2236](actions/checkout#2236) ##### [vv4.2.2](https://github.com/actions/checkout/blob/HEAD/CHANGELOG.md#v422) - `url-helper.ts` now leverages well-known environment variables by [@jww3](https://github.com/jww3) in [#1941](actions/checkout#1941) - Expand unit test coverage for `isGhes` by [@jww3](https://github.com/jww3) in [#1946](actions/checkout#1946) ##### [vv4.2.1](https://github.com/actions/checkout/blob/HEAD/CHANGELOG.md#v421) - Check out other refs/\* by commit if provided, fall back to ref by [@orhantoy](https://github.com/orhantoy) in [#1924](actions/checkout#1924) ##### [vv4.2.0](https://github.com/actions/checkout/blob/HEAD/CHANGELOG.md#v420) - Add Ref and Commit outputs by [@lucacome](https://github.com/lucacome) in [#1180](actions/checkout#1180) - Dependency updates by [@dependabot-](https://github.com/dependabot-) [#1777](actions/checkout#1777), [#1872](actions/checkout#1872) ##### [vv4.1.7](https://github.com/actions/checkout/blob/HEAD/CHANGELOG.md#v417) - Bump the minor-npm-dependencies group across 1 directory with 4 updates by [@dependabot](https://github.com/dependabot) in [#1739](actions/checkout#1739) - Bump actions/checkout from 3 to 4 by [@dependabot](https://github.com/dependabot) in [#1697](actions/checkout#1697) - Check out other refs/\* by commit by [@orhantoy](https://github.com/orhantoy) in [#1774](actions/checkout#1774) - Pin actions/checkout's own workflows to a known, good, stable version. by [@jww3](https://github.com/jww3) in [#1776](actions/checkout#1776) ##### [vv4.1.6](https://github.com/actions/checkout/blob/HEAD/CHANGELOG.md#v416) - Check platform to set archive extension appropriately by [@cory-miller](https://github.com/cory-miller) in [#1732](actions/checkout#1732) ##### [vv4.1.5](https://github.com/actions/checkout/blob/HEAD/CHANGELOG.md#v415) - Update NPM dependencies by [@cory-miller](https://github.com/cory-miller) in [#1703](actions/checkout#1703) - Bump github/codeql-action from 2 to 3 by [@dependabot](https://github.com/dependabot) in [#1694](actions/checkout#1694) - Bump actions/setup-node from 1 to 4 by [@dependabot](https://github.com/dependabot) in [#1696](actions/checkout#1696) - Bump actions/upload-artifact from 2 to 4 by [@dependabot](https://github.com/dependabot) in [#1695](actions/checkout#1695) - README: Suggest `user.email` to be `41898282+github-actions[bot]@users.noreply.github.com` by [@cory-miller](https://github.com/cory-miller) in [#1707](actions/checkout#1707) ##### [vv4.1.4](https://github.com/actions/checkout/blob/HEAD/CHANGELOG.md#v414) - Disable `extensions.worktreeConfig` when disabling `sparse-checkout` by [@jww3](https://github.com/jww3) in [#1692](actions/checkout#1692) - Add dependabot config by [@cory-miller](https://github.com/cory-miller) in [#1688](actions/checkout#1688) - Bump the minor-actions-dependencies group with 2 updates by [@dependabot](https://github.com/dependabot) in [#1693](actions/checkout#1693) - Bump word-wrap from 1.2.3 to 1.2.5 by [@dependabot](https://github.com/dependabot) in [#1643](actions/checkout#1643) ##### [vv4.1.3](https://github.com/actions/checkout/blob/HEAD/CHANGELOG.md#v413) - Check git version before attempting to disable `sparse-checkout` by [@jww3](https://github.com/jww3) in [#1656](actions/checkout#1656) - Add SSH user parameter by [@cory-miller](https://github.com/cory-miller) in [#1685](actions/checkout#1685) - Update `actions/checkout` version in `update-main-version.yml` by [@jww3](https://github.com/jww3) in [#1650](actions/checkout#1650) ##### [vv4.1.2](https://github.com/actions/checkout/blob/HEAD/CHANGELOG.md#v412) - Fix: Disable sparse checkout whenever `sparse-checkout` option is not present [@dscho](https://github.com/dscho) in [#1598](actions/checkout#1598) ##### [vv4.1.1](https://github.com/actions/checkout/blob/HEAD/CHANGELOG.md#v411) - Correct link to GitHub Docs by [@peterbe](https://github.com/peterbe) in [#1511](actions/checkout#1511) - Link to release page from what's new section by [@cory-miller](https://github.com/cory-miller) in [#1514](actions/checkout#1514) ##### [vv4.1.0](https://github.com/actions/checkout/blob/HEAD/CHANGELOG.md#v410) - [Add support for partial checkout filters](actions/checkout#1396) ##### [vv4.0.0](https://github.com/actions/checkout/blob/HEAD/CHANGELOG.md#v400) - [Support fetching without the --progress option](actions/checkout#1067) - [Update to node20](actions/checkout#1436) ##### [vv3.7.0](https://github.com/actions/checkout/releases/tag/v3.7.0) ##### What's Changed - **\[BREAKING]** backport `allow-unsafe-pr-checkout` to v3 by [@aiqiaoy](https://github.com/aiqiaoy) in [#2503](actions/checkout#2503) - backport fixes to releases-v3 by [@aiqiaoy](https://github.com/aiqiaoy) in [#2525](actions/checkout#2525) <https://github.blog/changelog/2026-06-18-safer-pull_request_target-defaults-for-github-actions-checkout/> for more details about this breaking change **Full Changelog**: <actions/checkout@v3.6.0...v3.7.0> ##### [vv3.6.0](https://github.com/actions/checkout/blob/HEAD/CHANGELOG.md#v360) - [Fix: Mark test scripts with Bash'isms to be run via Bash](actions/checkout#1377) - [Add option to fetch tags even if fetch-depth > 0](actions/checkout#579) ##### [vv3.5.3](https://github.com/actions/checkout/blob/HEAD/CHANGELOG.md#v353) - [Fix: Checkout fail in self-hosted runners when faulty submodule are checked-in](actions/checkout#1196) - [Fix typos found by codespell](actions/checkout#1287) - [Add support for sparse checkouts](actions/checkout#1369) ##### [vv3.5.2](https://github.com/actions/checkout/blob/HEAD/CHANGELOG.md#v352) - [Fix api endpoint for GHES](actions/checkout#1289) ##### [vv3.5.1](https://github.com/actions/checkout/blob/HEAD/CHANGELOG.md#v351) - [Fix slow checkout on Windows](actions/checkout#1246) ##### [vv3.5.0](https://github.com/actions/checkout/blob/HEAD/CHANGELOG.md#v350) - [Add new public key for known_hosts](actions/checkout#1237) ##### [vv3.4.0](https://github.com/actions/checkout/blob/HEAD/CHANGELOG.md#v340) - [Upgrade codeql actions to v2](actions/checkout#1209) - [Upgrade dependencies](actions/checkout#1210) - [Upgrade @actions/io](actions/checkout#1225) ##### [vv3.3.0](https://github.com/actions/checkout/blob/HEAD/CHANGELOG.md#v330) - [Implement branch list using callbacks from exec function](actions/checkout#1045) - [Add in explicit reference to private checkout options](actions/checkout#1050) - [Fix comment typos (that got added in #770)](actions/checkout#1057) ##### [vv3.2.0](https://github.com/actions/checkout/blob/HEAD/CHANGELOG.md#v320) - [Add GitHub Action to perform release](actions/checkout#942) - [Fix status badge](actions/checkout#967) - [Replace datadog/squid with ubuntu/squid Docker image](actions/checkout#1002) - [Wrap pipeline commands for submoduleForeach in quotes](actions/checkout#964) - [Update @actions/io to 1.1.2](actions/checkout#1029) - [Upgrading version to 3.2.0](actions/checkout#1039) ##### [vv3.1.0](https://github.com/actions/checkout/blob/HEAD/CHANGELOG.md#v310) - [Use @actions/core `saveState` and `getState`](actions/checkout#939) - [Add `github-server-url` input](actions/checkout#922) ##### [vv3.0.2](https://github.com/actions/checkout/blob/HEAD/CHANGELOG.md#v302) - [Add input `set-safe-directory`](actions/checkout#770) ##### [vv3.0.1](https://github.com/actions/checkout/blob/HEAD/CHANGELOG.md#v301) - [Fixed an issue where checkout failed to run in container jobs due to the new git setting `safe.directory`](actions/checkout#762) - [Bumped various npm package versions](actions/checkout#744)
##### [vv7.0.1](https://github.com/actions/checkout/blob/HEAD/CHANGELOG.md#v701) - Skip running unsafe pr check if input is default by [@aiqiaoy](https://github.com/aiqiaoy) in [#2518](actions/checkout#2518) - Trim only ascii whitespace for branch by [@aiqiaoy](https://github.com/aiqiaoy) in [#2521](actions/checkout#2521) - Escape values passed to --unset by [@aiqiaoy](https://github.com/aiqiaoy) in [#2530](actions/checkout#2530) - Various dependency updates ##### [vv7.0.0](https://github.com/actions/checkout/blob/HEAD/CHANGELOG.md#v700) - Block checking out fork PR for pull_request_target and workflow_run by [@aiqiaoy](https://github.com/aiqiaoy) in [#2454](actions/checkout#2454) - Various dependency updates ##### [vv6.1.0](https://github.com/actions/checkout/releases/tag/v6.1.0) ##### What's Changed - **\[BREAKING]** backport `allow-unsafe-pr-checkout` to v6 by [@aiqiaoy](https://github.com/aiqiaoy) in [#2500](actions/checkout#2500) - backport fixes to releases-v6 by [@aiqiaoy](https://github.com/aiqiaoy) in [#2527](actions/checkout#2527) <https://github.blog/changelog/2026-06-18-safer-pull_request_target-defaults-for-github-actions-checkout/> for more details about this breaking change **Full Changelog**: <actions/checkout@v6.0.3...v6.1.0> ##### [vv6.0.3](https://github.com/actions/checkout/blob/HEAD/CHANGELOG.md#v603) - Fix checkout init for SHA-256 repositories by [@yaananth](https://github.com/yaananth) in [#2439](actions/checkout#2439) - fix: expand merge commit SHA regex and add SHA-256 test cases by [@yaananth](https://github.com/yaananth) in [#2414](actions/checkout#2414) ##### [vv6.0.2](https://github.com/actions/checkout/blob/HEAD/CHANGELOG.md#v602) - Fix tag handling: preserve annotations and explicit fetch-tags by [@ericsciple](https://github.com/ericsciple) in [#2356](actions/checkout#2356) ##### [vv6.0.1](https://github.com/actions/checkout/blob/HEAD/CHANGELOG.md#v601) - Add worktree support for persist-credentials includeIf by [@ericsciple](https://github.com/ericsciple) in [#2327](actions/checkout#2327) ##### [vv6.0.0](https://github.com/actions/checkout/blob/HEAD/CHANGELOG.md#v600) - Persist creds to a separate file by [@ericsciple](https://github.com/ericsciple) in [#2286](actions/checkout#2286) - Update README to include Node.js 24 support details and requirements by [@salmanmkc](https://github.com/salmanmkc) in [#2248](actions/checkout#2248) ##### [vv5.1.0](https://github.com/actions/checkout/releases/tag/v5.1.0) ##### What's Changed - **\[BREAKING]** backport `allow-unsafe-pr-checkout` to v5 by [@aiqiaoy](https://github.com/aiqiaoy) in [#2501](actions/checkout#2501) - backport fixes to releases-v5 by [@aiqiaoy](https://github.com/aiqiaoy) in [#2523](actions/checkout#2523) <https://github.blog/changelog/2026-06-18-safer-pull_request_target-defaults-for-github-actions-checkout/> for more details about this breaking change **Full Changelog**: <actions/checkout@v5.0.1...v5.1.0> ##### [vv5.0.1](https://github.com/actions/checkout/blob/HEAD/CHANGELOG.md#v501) - Port v6 cleanup to v5 by [@ericsciple](https://github.com/ericsciple) in [#2301](actions/checkout#2301) ##### [vv5.0.0](https://github.com/actions/checkout/blob/HEAD/CHANGELOG.md#v500) - Update actions checkout to use node 24 by [@salmanmkc](https://github.com/salmanmkc) in [#2226](actions/checkout#2226) ##### [vv4.4.0](https://github.com/actions/checkout/releases/tag/v4.4.0) #### What's Changed - **\[BREAKING]** backport `allow-unsafe-pr-checkout` to v4 by [@aiqiaoy](https://github.com/aiqiaoy) in [#2502](actions/checkout#2502) - backport fixes to releases-v4 by [@aiqiaoy](https://github.com/aiqiaoy) in [#2524](actions/checkout#2524) <https://github.blog/changelog/2026-06-18-safer-pull_request_target-defaults-for-github-actions-checkout/> for more details about this breaking change **Full Changelog**: <actions/checkout@v4.3.1...v4.4.0> ##### [vv4.3.1](https://github.com/actions/checkout/blob/HEAD/CHANGELOG.md#v431) - Port v6 cleanup to v4 by [@ericsciple](https://github.com/ericsciple) in [#2305](actions/checkout#2305) ##### [vv4.3.0](https://github.com/actions/checkout/blob/HEAD/CHANGELOG.md#v430) - docs: update README.md by [@motss](https://github.com/motss) in [#1971](actions/checkout#1971) - Add internal repos for checking out multiple repositories by [@mouismail](https://github.com/mouismail) in [#1977](actions/checkout#1977) - Documentation update - add recommended permissions to Readme by [@benwells](https://github.com/benwells) in [#2043](actions/checkout#2043) - Adjust positioning of user email note and permissions heading by [@joshmgross](https://github.com/joshmgross) in [#2044](actions/checkout#2044) - Update README.md by [@nebuk89](https://github.com/nebuk89) in [#2194](actions/checkout#2194) - Update CODEOWNERS for actions by [@TingluoHuang](https://github.com/TingluoHuang) in [#2224](actions/checkout#2224) - Update package dependencies by [@salmanmkc](https://github.com/salmanmkc) in [#2236](actions/checkout#2236) ##### [vv4.2.2](https://github.com/actions/checkout/blob/HEAD/CHANGELOG.md#v422) - `url-helper.ts` now leverages well-known environment variables by [@jww3](https://github.com/jww3) in [#1941](actions/checkout#1941) - Expand unit test coverage for `isGhes` by [@jww3](https://github.com/jww3) in [#1946](actions/checkout#1946) ##### [vv4.2.1](https://github.com/actions/checkout/blob/HEAD/CHANGELOG.md#v421) - Check out other refs/\* by commit if provided, fall back to ref by [@orhantoy](https://github.com/orhantoy) in [#1924](actions/checkout#1924) ##### [vv4.2.0](https://github.com/actions/checkout/blob/HEAD/CHANGELOG.md#v420) - Add Ref and Commit outputs by [@lucacome](https://github.com/lucacome) in [#1180](actions/checkout#1180) - Dependency updates by [@dependabot-](https://github.com/dependabot-) [#1777](actions/checkout#1777), [#1872](actions/checkout#1872) ##### [vv4.1.7](https://github.com/actions/checkout/blob/HEAD/CHANGELOG.md#v417) - Bump the minor-npm-dependencies group across 1 directory with 4 updates by [@dependabot](https://github.com/dependabot) in [#1739](actions/checkout#1739) - Bump actions/checkout from 3 to 4 by [@dependabot](https://github.com/dependabot) in [#1697](actions/checkout#1697) - Check out other refs/\* by commit by [@orhantoy](https://github.com/orhantoy) in [#1774](actions/checkout#1774) - Pin actions/checkout's own workflows to a known, good, stable version. by [@jww3](https://github.com/jww3) in [#1776](actions/checkout#1776) ##### [vv4.1.6](https://github.com/actions/checkout/blob/HEAD/CHANGELOG.md#v416) - Check platform to set archive extension appropriately by [@cory-miller](https://github.com/cory-miller) in [#1732](actions/checkout#1732) ##### [vv4.1.5](https://github.com/actions/checkout/blob/HEAD/CHANGELOG.md#v415) - Update NPM dependencies by [@cory-miller](https://github.com/cory-miller) in [#1703](actions/checkout#1703) - Bump github/codeql-action from 2 to 3 by [@dependabot](https://github.com/dependabot) in [#1694](actions/checkout#1694) - Bump actions/setup-node from 1 to 4 by [@dependabot](https://github.com/dependabot) in [#1696](actions/checkout#1696) - Bump actions/upload-artifact from 2 to 4 by [@dependabot](https://github.com/dependabot) in [#1695](actions/checkout#1695) - README: Suggest `user.email` to be `41898282+github-actions[bot]@users.noreply.github.com` by [@cory-miller](https://github.com/cory-miller) in [#1707](actions/checkout#1707) ##### [vv4.1.4](https://github.com/actions/checkout/blob/HEAD/CHANGELOG.md#v414) - Disable `extensions.worktreeConfig` when disabling `sparse-checkout` by [@jww3](https://github.com/jww3) in [#1692](actions/checkout#1692) - Add dependabot config by [@cory-miller](https://github.com/cory-miller) in [#1688](actions/checkout#1688) - Bump the minor-actions-dependencies group with 2 updates by [@dependabot](https://github.com/dependabot) in [#1693](actions/checkout#1693) - Bump word-wrap from 1.2.3 to 1.2.5 by [@dependabot](https://github.com/dependabot) in [#1643](actions/checkout#1643) ##### [vv4.1.3](https://github.com/actions/checkout/blob/HEAD/CHANGELOG.md#v413) - Check git version before attempting to disable `sparse-checkout` by [@jww3](https://github.com/jww3) in [#1656](actions/checkout#1656) - Add SSH user parameter by [@cory-miller](https://github.com/cory-miller) in [#1685](actions/checkout#1685) - Update `actions/checkout` version in `update-main-version.yml` by [@jww3](https://github.com/jww3) in [#1650](actions/checkout#1650) ##### [vv4.1.2](https://github.com/actions/checkout/blob/HEAD/CHANGELOG.md#v412) - Fix: Disable sparse checkout whenever `sparse-checkout` option is not present [@dscho](https://github.com/dscho) in [#1598](actions/checkout#1598) ##### [vv4.1.1](https://github.com/actions/checkout/blob/HEAD/CHANGELOG.md#v411) - Correct link to GitHub Docs by [@peterbe](https://github.com/peterbe) in [#1511](actions/checkout#1511) - Link to release page from what's new section by [@cory-miller](https://github.com/cory-miller) in [#1514](actions/checkout#1514) ##### [vv4.1.0](https://github.com/actions/checkout/blob/HEAD/CHANGELOG.md#v410) - [Add support for partial checkout filters](actions/checkout#1396) ##### [vv4.0.0](https://github.com/actions/checkout/blob/HEAD/CHANGELOG.md#v400) - [Support fetching without the --progress option](actions/checkout#1067) - [Update to node20](actions/checkout#1436) ##### [vv3.7.0](https://github.com/actions/checkout/releases/tag/v3.7.0) ##### What's Changed - **\[BREAKING]** backport `allow-unsafe-pr-checkout` to v3 by [@aiqiaoy](https://github.com/aiqiaoy) in [#2503](actions/checkout#2503) - backport fixes to releases-v3 by [@aiqiaoy](https://github.com/aiqiaoy) in [#2525](actions/checkout#2525) <https://github.blog/changelog/2026-06-18-safer-pull_request_target-defaults-for-github-actions-checkout/> for more details about this breaking change **Full Changelog**: <actions/checkout@v3.6.0...v3.7.0> ##### [vv3.6.0](https://github.com/actions/checkout/blob/HEAD/CHANGELOG.md#v360) - [Fix: Mark test scripts with Bash'isms to be run via Bash](actions/checkout#1377) - [Add option to fetch tags even if fetch-depth > 0](actions/checkout#579) ##### [vv3.5.3](https://github.com/actions/checkout/blob/HEAD/CHANGELOG.md#v353) - [Fix: Checkout fail in self-hosted runners when faulty submodule are checked-in](actions/checkout#1196) - [Fix typos found by codespell](actions/checkout#1287) - [Add support for sparse checkouts](actions/checkout#1369) ##### [vv3.5.2](https://github.com/actions/checkout/blob/HEAD/CHANGELOG.md#v352) - [Fix api endpoint for GHES](actions/checkout#1289) ##### [vv3.5.1](https://github.com/actions/checkout/blob/HEAD/CHANGELOG.md#v351) - [Fix slow checkout on Windows](actions/checkout#1246) ##### [vv3.5.0](https://github.com/actions/checkout/blob/HEAD/CHANGELOG.md#v350) - [Add new public key for known_hosts](actions/checkout#1237) ##### [vv3.4.0](https://github.com/actions/checkout/blob/HEAD/CHANGELOG.md#v340) - [Upgrade codeql actions to v2](actions/checkout#1209) - [Upgrade dependencies](actions/checkout#1210) - [Upgrade @actions/io](actions/checkout#1225) ##### [vv3.3.0](https://github.com/actions/checkout/blob/HEAD/CHANGELOG.md#v330) - [Implement branch list using callbacks from exec function](actions/checkout#1045) - [Add in explicit reference to private checkout options](actions/checkout#1050) - [Fix comment typos (that got added in #770)](actions/checkout#1057) ##### [vv3.2.0](https://github.com/actions/checkout/blob/HEAD/CHANGELOG.md#v320) - [Add GitHub Action to perform release](actions/checkout#942) - [Fix status badge](actions/checkout#967) - [Replace datadog/squid with ubuntu/squid Docker image](actions/checkout#1002) - [Wrap pipeline commands for submoduleForeach in quotes](actions/checkout#964) - [Update @actions/io to 1.1.2](actions/checkout#1029) - [Upgrading version to 3.2.0](actions/checkout#1039) ##### [vv3.1.0](https://github.com/actions/checkout/blob/HEAD/CHANGELOG.md#v310) - [Use @actions/core `saveState` and `getState`](actions/checkout#939) - [Add `github-server-url` input](actions/checkout#922) ##### [vv3.0.2](https://github.com/actions/checkout/blob/HEAD/CHANGELOG.md#v302) - [Add input `set-safe-directory`](actions/checkout#770) ##### [vv3.0.1](https://github.com/actions/checkout/blob/HEAD/CHANGELOG.md#v301) - [Fixed an issue where checkout failed to run in container jobs due to the new git setting `safe.directory`](actions/checkout#762) - [Bumped various npm package versions](actions/checkout#744) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
##### [vv7.0.1](https://github.com/actions/checkout/blob/HEAD/CHANGELOG.md#v701) - Skip running unsafe pr check if input is default by [@aiqiaoy](https://github.com/aiqiaoy) in [#2518](actions/checkout#2518) - Trim only ascii whitespace for branch by [@aiqiaoy](https://github.com/aiqiaoy) in [#2521](actions/checkout#2521) - Escape values passed to --unset by [@aiqiaoy](https://github.com/aiqiaoy) in [#2530](actions/checkout#2530) - Various dependency updates ##### [vv7.0.0](https://github.com/actions/checkout/blob/HEAD/CHANGELOG.md#v700) - Block checking out fork PR for pull_request_target and workflow_run by [@aiqiaoy](https://github.com/aiqiaoy) in [#2454](actions/checkout#2454) - Various dependency updates ##### [vv6.1.0](https://github.com/actions/checkout/releases/tag/v6.1.0) ##### What's Changed - **\[BREAKING]** backport `allow-unsafe-pr-checkout` to v6 by [@aiqiaoy](https://github.com/aiqiaoy) in [#2500](actions/checkout#2500) - backport fixes to releases-v6 by [@aiqiaoy](https://github.com/aiqiaoy) in [#2527](actions/checkout#2527) <https://github.blog/changelog/2026-06-18-safer-pull_request_target-defaults-for-github-actions-checkout/> for more details about this breaking change **Full Changelog**: <actions/checkout@v6.0.3...v6.1.0> ##### [vv6.0.3](https://github.com/actions/checkout/blob/HEAD/CHANGELOG.md#v603) - Fix checkout init for SHA-256 repositories by [@yaananth](https://github.com/yaananth) in [#2439](actions/checkout#2439) - fix: expand merge commit SHA regex and add SHA-256 test cases by [@yaananth](https://github.com/yaananth) in [#2414](actions/checkout#2414) ##### [vv6.0.2](https://github.com/actions/checkout/blob/HEAD/CHANGELOG.md#v602) - Fix tag handling: preserve annotations and explicit fetch-tags by [@ericsciple](https://github.com/ericsciple) in [#2356](actions/checkout#2356) ##### [vv6.0.1](https://github.com/actions/checkout/blob/HEAD/CHANGELOG.md#v601) - Add worktree support for persist-credentials includeIf by [@ericsciple](https://github.com/ericsciple) in [#2327](actions/checkout#2327) ##### [vv6.0.0](https://github.com/actions/checkout/blob/HEAD/CHANGELOG.md#v600) - Persist creds to a separate file by [@ericsciple](https://github.com/ericsciple) in [#2286](actions/checkout#2286) - Update README to include Node.js 24 support details and requirements by [@salmanmkc](https://github.com/salmanmkc) in [#2248](actions/checkout#2248) ##### [vv5.1.0](https://github.com/actions/checkout/releases/tag/v5.1.0) ##### What's Changed - **\[BREAKING]** backport `allow-unsafe-pr-checkout` to v5 by [@aiqiaoy](https://github.com/aiqiaoy) in [#2501](actions/checkout#2501) - backport fixes to releases-v5 by [@aiqiaoy](https://github.com/aiqiaoy) in [#2523](actions/checkout#2523) <https://github.blog/changelog/2026-06-18-safer-pull_request_target-defaults-for-github-actions-checkout/> for more details about this breaking change **Full Changelog**: <actions/checkout@v5.0.1...v5.1.0> ##### [vv5.0.1](https://github.com/actions/checkout/blob/HEAD/CHANGELOG.md#v501) - Port v6 cleanup to v5 by [@ericsciple](https://github.com/ericsciple) in [#2301](actions/checkout#2301) ##### [vv5.0.0](https://github.com/actions/checkout/blob/HEAD/CHANGELOG.md#v500) - Update actions checkout to use node 24 by [@salmanmkc](https://github.com/salmanmkc) in [#2226](actions/checkout#2226) ##### [vv4.4.0](https://github.com/actions/checkout/releases/tag/v4.4.0) ##### What's Changed - **\[BREAKING]** backport `allow-unsafe-pr-checkout` to v4 by [@aiqiaoy](https://github.com/aiqiaoy) in [#2502](actions/checkout#2502) - backport fixes to releases-v4 by [@aiqiaoy](https://github.com/aiqiaoy) in [#2524](actions/checkout#2524) <https://github.blog/changelog/2026-06-18-safer-pull_request_target-defaults-for-github-actions-checkout/> for more details about this breaking change **Full Changelog**: <actions/checkout@v4.3.1...v4.4.0> ##### [vv4.3.1](https://github.com/actions/checkout/blob/HEAD/CHANGELOG.md#v431) - Port v6 cleanup to v4 by [@ericsciple](https://github.com/ericsciple) in [#2305](actions/checkout#2305) ##### [vv4.3.0](https://github.com/actions/checkout/blob/HEAD/CHANGELOG.md#v430) - docs: update README.md by [@motss](https://github.com/motss) in [#1971](actions/checkout#1971) - Add internal repos for checking out multiple repositories by [@mouismail](https://github.com/mouismail) in [#1977](actions/checkout#1977) - Documentation update - add recommended permissions to Readme by [@benwells](https://github.com/benwells) in [#2043](actions/checkout#2043) - Adjust positioning of user email note and permissions heading by [@joshmgross](https://github.com/joshmgross) in [#2044](actions/checkout#2044) - Update README.md by [@nebuk89](https://github.com/nebuk89) in [#2194](actions/checkout#2194) - Update CODEOWNERS for actions by [@TingluoHuang](https://github.com/TingluoHuang) in [#2224](actions/checkout#2224) - Update package dependencies by [@salmanmkc](https://github.com/salmanmkc) in [#2236](actions/checkout#2236) ##### [vv4.2.2](https://github.com/actions/checkout/blob/HEAD/CHANGELOG.md#v422) - `url-helper.ts` now leverages well-known environment variables by [@jww3](https://github.com/jww3) in [#1941](actions/checkout#1941) - Expand unit test coverage for `isGhes` by [@jww3](https://github.com/jww3) in [#1946](actions/checkout#1946) ##### [vv4.2.1](https://github.com/actions/checkout/blob/HEAD/CHANGELOG.md#v421) - Check out other refs/\* by commit if provided, fall back to ref by [@orhantoy](https://github.com/orhantoy) in [#1924](actions/checkout#1924) ##### [vv4.2.0](https://github.com/actions/checkout/blob/HEAD/CHANGELOG.md#v420) - Add Ref and Commit outputs by [@lucacome](https://github.com/lucacome) in [#1180](actions/checkout#1180) - Dependency updates by [@dependabot-](https://github.com/dependabot-) [#1777](actions/checkout#1777), [#1872](actions/checkout#1872) ##### [vv4.1.7](https://github.com/actions/checkout/blob/HEAD/CHANGELOG.md#v417) - Bump the minor-npm-dependencies group across 1 directory with 4 updates by [@dependabot](https://github.com/dependabot) in [#1739](actions/checkout#1739) - Bump actions/checkout from 3 to 4 by [@dependabot](https://github.com/dependabot) in [#1697](actions/checkout#1697) - Check out other refs/\* by commit by [@orhantoy](https://github.com/orhantoy) in [#1774](actions/checkout#1774) - Pin actions/checkout's own workflows to a known, good, stable version. by [@jww3](https://github.com/jww3) in [#1776](actions/checkout#1776) ##### [vv4.1.6](https://github.com/actions/checkout/blob/HEAD/CHANGELOG.md#v416) - Check platform to set archive extension appropriately by [@cory-miller](https://github.com/cory-miller) in [#1732](actions/checkout#1732) ##### [vv4.1.5](https://github.com/actions/checkout/blob/HEAD/CHANGELOG.md#v415) - Update NPM dependencies by [@cory-miller](https://github.com/cory-miller) in [#1703](actions/checkout#1703) - Bump github/codeql-action from 2 to 3 by [@dependabot](https://github.com/dependabot) in [#1694](actions/checkout#1694) - Bump actions/setup-node from 1 to 4 by [@dependabot](https://github.com/dependabot) in [#1696](actions/checkout#1696) - Bump actions/upload-artifact from 2 to 4 by [@dependabot](https://github.com/dependabot) in [#1695](actions/checkout#1695) - README: Suggest `user.email` to be `41898282+github-actions[bot]@users.noreply.github.com` by [@cory-miller](https://github.com/cory-miller) in [#1707](actions/checkout#1707) ##### [vv4.1.4](https://github.com/actions/checkout/blob/HEAD/CHANGELOG.md#v414) - Disable `extensions.worktreeConfig` when disabling `sparse-checkout` by [@jww3](https://github.com/jww3) in [#1692](actions/checkout#1692) - Add dependabot config by [@cory-miller](https://github.com/cory-miller) in [#1688](actions/checkout#1688) - Bump the minor-actions-dependencies group with 2 updates by [@dependabot](https://github.com/dependabot) in [#1693](actions/checkout#1693) - Bump word-wrap from 1.2.3 to 1.2.5 by [@dependabot](https://github.com/dependabot) in [#1643](actions/checkout#1643) ##### [vv4.1.3](https://github.com/actions/checkout/blob/HEAD/CHANGELOG.md#v413) - Check git version before attempting to disable `sparse-checkout` by [@jww3](https://github.com/jww3) in [#1656](actions/checkout#1656) - Add SSH user parameter by [@cory-miller](https://github.com/cory-miller) in [#1685](actions/checkout#1685) - Update `actions/checkout` version in `update-main-version.yml` by [@jww3](https://github.com/jww3) in [#1650](actions/checkout#1650) ##### [vv4.1.2](https://github.com/actions/checkout/blob/HEAD/CHANGELOG.md#v412) - Fix: Disable sparse checkout whenever `sparse-checkout` option is not present [@dscho](https://github.com/dscho) in [#1598](actions/checkout#1598) ##### [vv4.1.1](https://github.com/actions/checkout/blob/HEAD/CHANGELOG.md#v411) - Correct link to GitHub Docs by [@peterbe](https://github.com/peterbe) in [#1511](actions/checkout#1511) - Link to release page from what's new section by [@cory-miller](https://github.com/cory-miller) in [#1514](actions/checkout#1514) ##### [vv4.1.0](https://github.com/actions/checkout/blob/HEAD/CHANGELOG.md#v410) - [Add support for partial checkout filters](actions/checkout#1396) ##### [vv4.0.0](https://github.com/actions/checkout/blob/HEAD/CHANGELOG.md#v400) - [Support fetching without the --progress option](actions/checkout#1067) - [Update to node20](actions/checkout#1436) ##### [vv3.7.0](https://github.com/actions/checkout/releases/tag/v3.7.0) ##### What's Changed - **\[BREAKING]** backport `allow-unsafe-pr-checkout` to v3 by [@aiqiaoy](https://github.com/aiqiaoy) in [#2503](actions/checkout#2503) - backport fixes to releases-v3 by [@aiqiaoy](https://github.com/aiqiaoy) in [#2525](actions/checkout#2525) <https://github.blog/changelog/2026-06-18-safer-pull_request_target-defaults-for-github-actions-checkout/> for more details about this breaking change **Full Changelog**: <actions/checkout@v3.6.0...v3.7.0> ##### [vv3.6.0](https://github.com/actions/checkout/blob/HEAD/CHANGELOG.md#v360) - [Fix: Mark test scripts with Bash'isms to be run via Bash](actions/checkout#1377) - [Add option to fetch tags even if fetch-depth > 0](actions/checkout#579) ##### [vv3.5.3](https://github.com/actions/checkout/blob/HEAD/CHANGELOG.md#v353) - [Fix: Checkout fail in self-hosted runners when faulty submodule are checked-in](actions/checkout#1196) - [Fix typos found by codespell](actions/checkout#1287) - [Add support for sparse checkouts](actions/checkout#1369) ##### [vv3.5.2](https://github.com/actions/checkout/blob/HEAD/CHANGELOG.md#v352) - [Fix api endpoint for GHES](actions/checkout#1289) ##### [vv3.5.1](https://github.com/actions/checkout/blob/HEAD/CHANGELOG.md#v351) - [Fix slow checkout on Windows](actions/checkout#1246) ##### [vv3.5.0](https://github.com/actions/checkout/blob/HEAD/CHANGELOG.md#v350) - [Add new public key for known_hosts](actions/checkout#1237) ##### [vv3.4.0](https://github.com/actions/checkout/blob/HEAD/CHANGELOG.md#v340) - [Upgrade codeql actions to v2](actions/checkout#1209) - [Upgrade dependencies](actions/checkout#1210) - [Upgrade @actions/io](actions/checkout#1225) ##### [vv3.3.0](https://github.com/actions/checkout/blob/HEAD/CHANGELOG.md#v330) - [Implement branch list using callbacks from exec function](actions/checkout#1045) - [Add in explicit reference to private checkout options](actions/checkout#1050) - [Fix comment typos (that got added in #770)](actions/checkout#1057) ##### [vv3.2.0](https://github.com/actions/checkout/blob/HEAD/CHANGELOG.md#v320) - [Add GitHub Action to perform release](actions/checkout#942) - [Fix status badge](actions/checkout#967) - [Replace datadog/squid with ubuntu/squid Docker image](actions/checkout#1002) - [Wrap pipeline commands for submoduleForeach in quotes](actions/checkout#964) - [Update @actions/io to 1.1.2](actions/checkout#1029) - [Upgrading version to 3.2.0](actions/checkout#1039) ##### [vv3.1.0](https://github.com/actions/checkout/blob/HEAD/CHANGELOG.md#v310) - [Use @actions/core `saveState` and `getState`](actions/checkout#939) - [Add `github-server-url` input](actions/checkout#922) ##### [vv3.0.2](https://github.com/actions/checkout/blob/HEAD/CHANGELOG.md#v302) - [Add input `set-safe-directory`](actions/checkout#770) ##### [vv3.0.1](https://github.com/actions/checkout/blob/HEAD/CHANGELOG.md#v301) - [Fixed an issue where checkout failed to run in container jobs due to the new git setting `safe.directory`](actions/checkout#762) - [Bumped various npm package versions](actions/checkout#744) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
If this is merged, setting the
progressoption to false in thewithsection of the workflow step will cause git fetch to run without the--progressflag.Note that the default value of this new option is
true, which matches the current behavior, so this PR introduces no behavior change unless the new option is explicitly present and set to false.The motivation is to be able to suppress the noisy progress status output which adds many hundreds of
remote: Counting objects: 85% (386/453)and similar lines in the workflow log.This should be sufficient to resolve #894 and its older friends, though the solution is different to the one proposed there because it doesn't use the
--quietflag. IIUC git doesn't show the progress status by default when running on GitHub since the output is not a terminal. Adding the--progressflag is what forces the progress output to be shown, so that's why removing it is all that's needed.Adding the
--quietflag doesn't make a lot of difference once the--progressflag is removed, and actually I think using--quietwould suppress some other more useful output that would be better left visible.