access token is now optional
* fix some err checks * github api url can be configured (e.g. point it at an enterprise instance) [finishes #89638752 #89633744] Signed-off-by: Chris Brown <cbrown@pivotal.io>
This commit is contained in:
@@ -4,14 +4,17 @@ Fetches and creates versioned GitHub resources.
|
||||
|
||||
## Source Configuration
|
||||
|
||||
* `access_token`: *Required.* The GitHub access token that should be used to
|
||||
access the API.
|
||||
|
||||
* `user`: *Required.* The GitHub username or organization name for the
|
||||
repository that the releases are in.
|
||||
|
||||
* `repository`: *Required.* The repository name that contains the releases.
|
||||
|
||||
* `access_token`: *Optional.* The GitHub access token that should be used to
|
||||
access the API. Only required for publishing releases.
|
||||
|
||||
* `github_api_url`: *Optional.* If you use a non-public GitHub deployment then
|
||||
you can set your API URL here.
|
||||
|
||||
## Behavior
|
||||
|
||||
### `check`: Check for released versions.
|
||||
|
Reference in New Issue
Block a user