Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Support for sparse commit after sparse checkout #689

Open
Labels
status: pendingMore info is needed before deciding what to do
@QuentiumYT

Description

When I checkout my repository, I use

 - uses: actions/checkout@v4
 with:
 ref: ${{ github.ref }}
 sparse-checkout: urls.txt

After all the action steps, I do git add --sparse results and commit

I tried to replace my commits with your actions but it seems like it doesn't support sparse, would like to know if you can add that?

 - uses: EndBug/add-and-commit@v9
 with:
 add: "results"
 pull: "--rebase --autostash ..."
 default_author: "github_actions"
 message: "update: ${{ matrix.sites.url }}"
[Scan (<action>)]
Error: The following paths and/or pathspecs matched paths that exist
outside of your sparse-checkout definition, so will not be
updated in the index:
results
hint: If you intend to update such entries, try one of the following:
hint: * Use the --sparse option.
hint: * Disable or modify the sparsity rules.
hint: Disable this message with "git config set advice.updateSparsePath false"

Metadata

Metadata

Assignees

No one assigned

    Labels

    status: pendingMore info is needed before deciding what to do

    Projects

    No projects

    Milestone

    No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

        AltStyle によって変換されたページ (->オリジナル) /