Skip to content

filter options not applied to submodules? #1714

Open
@Crzyrndm

Description

@Crzyrndm

Checking the log of an action which is using the following

- uses: actions/checkout@v4
  with:
    submodules: true
    fetch-depth: 0
    filter: blob:none

The submodule checkout step indicates the filter is not applied

# Fetching the primary repo
git -c protocol.version=2 fetch --prune --no-recurse-submodules --filter=blob:none ...
# fetching / checking out submodules
git -c protocol.version=2 submodule update --init --force

I was expecting to see the --filter=... also present in the submodule update step. Is there a reason this is not the case?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions