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

    Function getChangesInLastCommit

    • Gets file changes from the last commit.

      Uses git log to get the diff of the most recent commit. This is useful for detecting what was changed in the latest commit.

      Returns Promise<File[]>

      Array of files changed in the last commit

      When git command fails