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

    Function isGitSha

    • Checks if a string looks like a git SHA-1 hash.

      Parameters

      • ref: string

        String to check

      Returns boolean

      true if the string matches the format of a 40-character SHA-1 hash