Source configuration uses owner instead of user

"Owner" is the name GitHub uses in its API to reference the owner of a
repository. "User" is not correct when the owner is an organization.

This removes some confusion I've encountered over how to configure the
resource while maintaining backwards compatibility.
This commit is contained in:
Kris Hicks
2017-04-10 08:52:27 -07:00
parent 7c5e8c7b3c
commit 3b050c148c
4 changed files with 50 additions and 21 deletions

View File

@@ -7,8 +7,8 @@ Fetches and creates versioned GitHub resources.
## Source Configuration
* `user`: *Required.* The GitHub username or organization name for the
repository that the releases are in.
* `owner`: *Required.* The GitHub user or organization name for the repository
that the releases are in.
* `repository`: *Required.* The repository name that contains the releases.
@@ -45,7 +45,7 @@ Fetches and creates versioned GitHub resources.
- name: gh-release
type: github-release
source:
user: concourse
owner: concourse
repository: concourse
access_token: abcdef1234567890
```