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

    Function getChanges

    • Gets file changes between two git references.

      Compares two git refs directly using git diff base..head. Both refs are ensured to be available locally before comparison.

      Parameters

      • base: string

        Base reference (commit, branch, or tag)

      • head: string

        Head reference (commit, branch, or tag)

      Returns Promise<File[]>

      Array of files changed between the two references

      When references cannot be resolved or git command fails