Actions
Get Repository Content
Retrieves the contents of a file or directory from a GitHub repository.
External Documentation
To learn more, visit the GitHub documentation.
Parameters
Parameter | Description |
---|---|
Owner | The account owner of the repository. The name is not case sensitive. |
Path | Path to a specific file or folder within the repository. If the path isn’t specified, the action wil be directed to the repository’s root.Note : To return the content in its raw form, You Must use this parameter and specify a relative file path. Directories can’t be retrieved in their raw form. |
Reference | The name of the commit/branch/tag (Default - the repository’s default branch (usually master ). |
Repo | The name of the repository. The name is not case sensitive. |
Return Raw | Select to return content in its raw form.Note : Supported only for files, not directories. To retrieve the raw content of a repository file, use the Path parameter and specify the relative file path. |
Example Output
Workflow Library Example
Get Repository Content with Github and Send Results Via Email
Preview this Workflow on desktop
Was this page helpful?