Skip to content

Check only runs once and fails for new Submodules #3

Open
@dennisconrad

Description

@dennisconrad

The check has two issues:

  1. If a new submodule is added, commits will be empty and the check will fail with:

subprocess.CalledProcessError: Command '['git', 'ls-tree', '']' returned non-zero exit status 128.

  1. The check will only run once, even if there are more than one changed submodule directory.

#2 fixes these issues.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions