Explicitly disable sparse checkout unless asked for by dscho · Pull Request #1598 · actions/checkout (original) (raw)

added 2 commits

January 31, 2024 14:52

@dscho

This should allow users to reuse existing folders when running actions/checkout where a previous run asked for a sparse checkout but the current run does not ask for a sparse checkout.

This fixes actions#1475

Signed-off-by: Johannes Schindelin johannes.schindelin@gmx.de

@dscho

Signed-off-by: Johannes Schindelin johannes.schindelin@gmx.de

@dscho dscho mentioned this pull request

Jan 31, 2024

@dscho dscho marked this pull request as ready for review

January 31, 2024 14:45

@dscho

There are use cases in particular with non-ephemeral runners where an existing worktree (that has been initialized as a sparse checkout) is reused in subsequent CI runs (where actions/checkout is run without any sparse-checkout parameter).

In these scenarios, we need to make sure that the sparse checkout is disabled before checking out the files.

Signed-off-by: Johannes Schindelin johannes.schindelin@gmx.de

jww3

@jww3

@jww3

@jww3

@jww3

@jww3

Added a clarifying comment about test branches.

@jww3

@jww3

@jww3

@jww3

@jww3

Try pointing test-proxy at a custom container image fdev321123/ubuntu-with-git (courtesy of @fhammerl)

joshmgross

btkostner referenced this pull request in btkostner/jumar

Apr 13, 2024

@btkostner-jumar @btkostner

kodiakhq Bot referenced this pull request in weareinreach/InReach

Apr 22, 2024

@renovate

renovate Bot referenced this pull request in rpdelaney/downforeveryone

Apr 22, 2024

@renovate

bloopy-boi Bot referenced this pull request in h3mmy/bloopyboi

Apr 22, 2024

@bloopy-boi

renovate Bot referenced this pull request in apollographql/subgraph-csharp-hotchocolate-annotation

Apr 22, 2024

@renovate

renovate Bot referenced this pull request in Johannes-Andersen/Johannes

Apr 22, 2024

@renovate

github-merge-queue Bot referenced this pull request in openapi-generators/openapi-python-client

Apr 22, 2024

@renovate

renovate Bot referenced this pull request in simonknittel/simonknittel.de

Apr 22, 2024

@renovate

renovate Bot referenced this pull request in cozystack/etcd-operator

Apr 22, 2024

@renovate @hiddenmarten

renovate Bot referenced this pull request in ayushmanchhabra/vsx

Apr 22, 2024

@renovate

hrzlgnm referenced this pull request in hrzlgnm/Cappuchin

Apr 22, 2024

@renovate

karfau referenced this pull request in xmldom/xmldom

Apr 22, 2024

@renovate

renovate Bot referenced this pull request in simonknittel/sam

Apr 22, 2024

@renovate

renovate Bot referenced this pull request in nobl9/terraform-provider-nobl9

Apr 23, 2024

@renovate

codeboten referenced this pull request in open-telemetry/opentelemetry-collector

Apr 23, 2024

@renovate

dubzzz referenced this pull request in dubzzz/fast-check

Apr 23, 2024

@renovate

fuxingloh referenced this pull request in fuxingloh/multi-labeler

Apr 23, 2024

@renovate

This was referenced

Dec 31, 2024

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 }})