Basic Information

appmixer.github.list.FindFiles

Find Files

1.0.0

Public

Finds files in a repository by name, optionally under a path, at a branch, tag or commit. Reads the whole tree in one request, so it also finds files the search index does not cover, e.g. on a pull request head. Use `*` in the name as a wildcard (`*.json`).

Input Ports

in

FieldTypeDescription
Repository text The repository, in owner/repo format (e.g. octo-org/octo-repo) or as its GitHub URL.
File Name text The file name to find, e.g. bundle.json. Use * as a wildcard: *.json finds every JSON file. The name is matched against the file name only, not the path.
Path text Only look under this directory, e.g. src/connectors. Leave empty to search the whole repository.
Branch, Tag or Commit text Where to look: a branch name, a tag or a commit SHA. A pull request head SHA works too, even when it comes from a fork. Leave empty for the default branch.
Output Type select Choose whether you want to receive the result set as one complete list, or first file only or one file at a time or stream the files to a file.

Output Ports

out

notFound

FieldTypeDescription
No fields defined for this port

Full Metadata