<feed xmlns='http://www.w3.org/2005/Atom'>
<title>janschoenfeld/checkout.git, branch v3</title>
<subtitle>Action for checking out a repo
</subtitle>
<link rel='alternate' type='text/html' href='http://git.dieschoenewolke.de/janschoenfeld/checkout.git/'/>
<entry>
<title>backport fixes to releases-v3 (#2525)</title>
<updated>2026-07-16T19:44:07+00:00</updated>
<author>
<name>Aiqiao Yan</name>
<email>55104035+aiqiaoy@users.noreply.github.com</email>
</author>
<published>2026-07-16T19:44:07+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dieschoenewolke.de/janschoenfeld/checkout.git/commit/?id=574a5cec52301e4cb637af495a8afd4ca870809a'/>
<id>574a5cec52301e4cb637af495a8afd4ca870809a</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>backport `allow-unsafe-pr-checkout` to v3 (#2503)</title>
<updated>2026-07-07T20:34:20+00:00</updated>
<author>
<name>Aiqiao Yan</name>
<email>55104035+aiqiaoy@users.noreply.github.com</email>
</author>
<published>2026-07-07T20:34:20+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dieschoenewolke.de/janschoenfeld/checkout.git/commit/?id=90723f5985926a25e7ccfe67fdcc242120503361'/>
<id>90723f5985926a25e7ccfe67fdcc242120503361</id>
<content type='text'>
* block checking out fork pr for pull_request_target and workflow_run (#2454)

* block checking out fork pr for some events

* address copilot and reviewer feedback

* run prettier formatting

* build

* update urls

* update readme

* update description and url again

* edit url one more time

* update error wording (#2467)

* Upgrade upload-artifact action to version 4</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* block checking out fork pr for pull_request_target and workflow_run (#2454)

* block checking out fork pr for some events

* address copilot and reviewer feedback

* run prettier formatting

* build

* update urls

* update readme

* update description and url again

* edit url one more time

* update error wording (#2467)

* Upgrade upload-artifact action to version 4</pre>
</div>
</content>
</entry>
<entry>
<title>Release 3.6.0 (#1437)</title>
<updated>2023-08-24T13:54:47+00:00</updated>
<author>
<name>Luke Tomlinson</name>
<email>luketomlinson@github.com</email>
</author>
<published>2023-08-24T13:54:47+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dieschoenewolke.de/janschoenfeld/checkout.git/commit/?id=cbb53fba03ddd47df04de3ef6bcd9f7cc3551165'/>
<id>cbb53fba03ddd47df04de3ef6bcd9f7cc3551165</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Add option to fetch tags even if fetch-depth &gt; 0 (#579)</title>
<updated>2023-08-16T20:34:54+00:00</updated>
<author>
<name>Robert Wieczoreck</name>
<email>1175008+RobertWieczoreck@users.noreply.github.com</email>
</author>
<published>2023-08-16T20:34:54+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dieschoenewolke.de/janschoenfeld/checkout.git/commit/?id=656b4ef8263848a38ec468288a4192bae917f502'/>
<id>656b4ef8263848a38ec468288a4192bae917f502</id>
<content type='text'>
* Add option to fetch tags even if fetch-depth &gt; 0

* Add jest tests for fetchDepth and fetchTags options</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Add option to fetch tags even if fetch-depth &gt; 0

* Add jest tests for fetchDepth and fetchTags options</pre>
</div>
</content>
</entry>
<entry>
<title>Mark test scripts with Bash'isms to be run via Bash (#1377)</title>
<updated>2023-06-09T15:05:29+00:00</updated>
<author>
<name>Johannes Schindelin</name>
<email>johannes.schindelin@gmx.de</email>
</author>
<published>2023-06-09T15:05:29+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dieschoenewolke.de/janschoenfeld/checkout.git/commit/?id=c9ee2550280ba382763bd72bd8065404a3082b18'/>
<id>c9ee2550280ba382763bd72bd8065404a3082b18</id>
<content type='text'>
In #1369, I mistakenly replaced the hash-bang lines in the two new
scripts with `#!/bin/sh`, missing that both files contain the Bash'ism
`[[`. Symptom as per
https://github.com/actions/checkout/actions/runs/5200323109/jobs/9378889172?pr=1369#step:12:5

    __test__/verify-sparse-checkout.sh: 58: [[: not found

Let's change those hash-bang lines back to `#!/bin/bash`.

Signed-off-by: Johannes Schindelin &lt;johannes.schindelin@gmx.de&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
In #1369, I mistakenly replaced the hash-bang lines in the two new
scripts with `#!/bin/sh`, missing that both files contain the Bash'ism
`[[`. Symptom as per
https://github.com/actions/checkout/actions/runs/5200323109/jobs/9378889172?pr=1369#step:12:5

    __test__/verify-sparse-checkout.sh: 58: [[: not found

Let's change those hash-bang lines back to `#!/bin/bash`.

Signed-off-by: Johannes Schindelin &lt;johannes.schindelin@gmx.de&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>Release v3.5.3 (#1376)</title>
<updated>2023-06-09T14:47:54+00:00</updated>
<author>
<name>Tingluo Huang</name>
<email>tingluohuang@github.com</email>
</author>
<published>2023-06-09T14:47:54+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dieschoenewolke.de/janschoenfeld/checkout.git/commit/?id=2285a66f2b022d778ab5f55b1d17e500da5c3de3'/>
<id>2285a66f2b022d778ab5f55b1d17e500da5c3de3</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Add support for sparse checkouts (#1369)</title>
<updated>2023-06-09T13:08:21+00:00</updated>
<author>
<name>Johannes Schindelin</name>
<email>johannes.schindelin@gmx.de</email>
</author>
<published>2023-06-09T13:08:21+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dieschoenewolke.de/janschoenfeld/checkout.git/commit/?id=2fabc1d1beb26cbeba1b7c886ef9f3732dd7e821'/>
<id>2fabc1d1beb26cbeba1b7c886ef9f3732dd7e821</id>
<content type='text'>
* Add support for sparse checkouts

* sparse-checkout: optionally turn off cone mode

While it _is_ true that cone mode is the default nowadays (mainly for
performance reasons: code mode is much faster than non-cone mode), there
_are_ legitimate use cases where non-cone mode is really useful.

Let's add a flag to optionally disable cone mode.

Signed-off-by: Johannes Schindelin &lt;johannes.schindelin@gmx.de&gt;

* Verify minimum Git version for sparse checkout

The `git sparse-checkout` command is available only since Git version
v2.25.0. The `actions/checkout` Action actually supports older Git
versions than that; As of time of writing, the minimum version is
v2.18.0.

Instead of raising this minimum version even for users who do not
require a sparse checkout, only check for this minimum version
specifically when a sparse checkout was asked for.

Suggested-by: Tingluo Huang &lt;tingluohuang@github.com&gt;
Signed-off-by: Johannes Schindelin &lt;johannes.schindelin@gmx.de&gt;

* Support sparse checkout/LFS better

Instead of fetching all the LFS objects present in the current revision
in a sparse checkout, whether they are needed inside the sparse cone or
not, let's instead only pull the ones that are actually needed.

To do that, let's avoid running that preemptive `git lfs fetch` call in
case of a sparse checkout.

An alternative that was considered during the development of this patch
(and ultimately rejected) was to use `git lfs pull --include &lt;path&gt;...`,
but it turned out to be too inflexible because it requires exact paths,
not the patterns that are available via the sparse checkout definition,
and that risks running into command-line length limitations.

Signed-off-by: Johannes Schindelin &lt;johannes.schindelin@gmx.de&gt;

---------

Signed-off-by: Johannes Schindelin &lt;johannes.schindelin@gmx.de&gt;
Co-authored-by: Daniel &lt;daniel.fernandez@feverup.com&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Add support for sparse checkouts

* sparse-checkout: optionally turn off cone mode

While it _is_ true that cone mode is the default nowadays (mainly for
performance reasons: code mode is much faster than non-cone mode), there
_are_ legitimate use cases where non-cone mode is really useful.

Let's add a flag to optionally disable cone mode.

Signed-off-by: Johannes Schindelin &lt;johannes.schindelin@gmx.de&gt;

* Verify minimum Git version for sparse checkout

The `git sparse-checkout` command is available only since Git version
v2.25.0. The `actions/checkout` Action actually supports older Git
versions than that; As of time of writing, the minimum version is
v2.18.0.

Instead of raising this minimum version even for users who do not
require a sparse checkout, only check for this minimum version
specifically when a sparse checkout was asked for.

Suggested-by: Tingluo Huang &lt;tingluohuang@github.com&gt;
Signed-off-by: Johannes Schindelin &lt;johannes.schindelin@gmx.de&gt;

* Support sparse checkout/LFS better

Instead of fetching all the LFS objects present in the current revision
in a sparse checkout, whether they are needed inside the sparse cone or
not, let's instead only pull the ones that are actually needed.

To do that, let's avoid running that preemptive `git lfs fetch` call in
case of a sparse checkout.

An alternative that was considered during the development of this patch
(and ultimately rejected) was to use `git lfs pull --include &lt;path&gt;...`,
but it turned out to be too inflexible because it requires exact paths,
not the patterns that are available via the sparse checkout definition,
and that risks running into command-line length limitations.

Signed-off-by: Johannes Schindelin &lt;johannes.schindelin@gmx.de&gt;

---------

Signed-off-by: Johannes Schindelin &lt;johannes.schindelin@gmx.de&gt;
Co-authored-by: Daniel &lt;daniel.fernandez@feverup.com&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>Fix typos found by codespell (#1287)</title>
<updated>2023-04-19T14:55:10+00:00</updated>
<author>
<name>Dimitri Papadopoulos Orfanos</name>
<email>3234522+DimitriPapadopoulos@users.noreply.github.com</email>
</author>
<published>2023-04-19T14:55:10+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dieschoenewolke.de/janschoenfeld/checkout.git/commit/?id=b5131a22acef3cd19082a3e66b8389587b836391'/>
<id>b5131a22acef3cd19082a3e66b8389587b836391</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix: Checkout fail in self-hosted runners when faulty submodule are checked-in (#1196)</title>
<updated>2023-04-14T10:26:47+00:00</updated>
<author>
<name>SKi</name>
<email>megamanics@users.noreply.github.com</email>
</author>
<published>2023-04-14T10:26:47+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dieschoenewolke.de/janschoenfeld/checkout.git/commit/?id=0023cf10d2f41d4eddfd3d6ad7ad99a1152ef708'/>
<id>0023cf10d2f41d4eddfd3d6ad7ad99a1152ef708</id>
<content type='text'>
* Fix Self hosted runner issue wrt bad submodules - solution cleanup working space.

* Fix format with npm run format output

* Add mock implementation for new function submoduleStatus

* Add 2  test cases for submodule status.

* Codeql-Action Analyse revert v1 to v2

---------

Co-authored-by: Bassem Dghaidi &lt;568794+Link-@users.noreply.github.com&gt;
Co-authored-by: sminnie &lt;minnie@sankhe.com&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Fix Self hosted runner issue wrt bad submodules - solution cleanup working space.

* Fix format with npm run format output

* Add mock implementation for new function submoduleStatus

* Add 2  test cases for submodule status.

* Codeql-Action Analyse revert v1 to v2

---------

Co-authored-by: Bassem Dghaidi &lt;568794+Link-@users.noreply.github.com&gt;
Co-authored-by: sminnie &lt;minnie@sankhe.com&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>Release v3.5.2 (#1291)</title>
<updated>2023-04-13T12:45:33+00:00</updated>
<author>
<name>Ferenc Hammerl</name>
<email>31069338+fhammerl@users.noreply.github.com</email>
</author>
<published>2023-04-13T12:45:33+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dieschoenewolke.de/janschoenfeld/checkout.git/commit/?id=72a27d858e989e4f80fdb9a9747ee908f946c62e'/>
<id>72a27d858e989e4f80fdb9a9747ee908f946c62e</id>
<content type='text'>
* Update version and changelog for 3.5.2

* Update changelog</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Update version and changelog for 3.5.2

* Update changelog</pre>
</div>
</content>
</entry>
</feed>
