The default export of this module is an async getter that will return an initialized and authenticated instance of OctoKit/Rest.
This also exports helper functions
Dispatch an event to a repository on github.
Parameters:
Name | Description | Type |
---|---|---|
to | A path or resolved reference to a github repo. | string | RepositoryRef |
eventType | See GitHub's repositroy_dispatch docs. | string |
Given a directory, resolve the github remote. Parameters:
Name | Description | Type |
---|---|---|
dir | A path to a directory | string |
Properties:
Name | Type | Description |
---|---|---|
owner | string |
The owner account/organization |
repo | string |
The short name of the repository |
repoId | string |
The Full owner/repo name. |