conditional-paths-action API Documentation - v1.0.0
    Preparing search index...

    Function getChangesOnHead

    • Gets changes in the working directory and index compared to HEAD.

      This detects both staged and unstaged changes in the current working directory. Useful for detecting local modifications before they are committed.

      Returns Promise<File[]>

      Array of files with changes on HEAD

      When git command fails