Documentation for Simbo's Packages
    Preparing search index...
    • Parses a repository input in the format owner/repo.

      If the input is empty or not set, the repository the workflow runs in is used, from the environment variable GITHUB_REPOSITORY. Surrounding whitespace is ignored.

      Parameters

      • name: string = 'repository'

        The name of the input.

      Returns Repository

      The owner and the name of the repository.

      if neither the input nor GITHUB_REPOSITORY is set, or the value is not in the format owner/repo.