You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 8, 2018. It is now read-only.
Copy file name to clipboardExpand all lines: README.md
+5-3Lines changed: 5 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -112,6 +112,7 @@ git config --get pullrequest.url # returns the URL to the pull request
112
112
git config --get pullrequest.branch # returns the branch name used for the pull request
113
113
git config --get pullrequest.id # returns the ID number of the PR
114
114
git config --get pullrequest.basebranch # returns the base branch used for the pull request
115
+
git config --get pullrequest.userlogin # returns the github user login for the pull request author
115
116
```
116
117
117
118
@@ -125,10 +126,12 @@ git config --get pullrequest.basebranch # returns the base branch used for the p
125
126
126
127
* `.git/base_branch`: the base branch of the pull request
127
128
129
+
* `.git/user_login`: the user login of the pull request author
130
+
128
131
#### Parameters
129
132
130
133
* `git.depth`: *Optional.* If a positive integer is given, *shallow* clone the
131
-
repository using the `--depth` option.
134
+
repository using the `--depth` option.
132
135
133
136
* `git.submodules`: *Optional*, default `all`. If `none`, submodules will not be
134
137
fetched. If specified as a list of paths, only the given paths will be
@@ -158,7 +161,7 @@ Set the status message for `concourse-ci` context on specified pull request.
158
161
This supports the [build environment](http://concourse.ci/implementing-resources.html#resource-metadata)
159
162
variables provided by concourse. For example, `context: $BUILD_JOB_NAME` will set the context to the job name.
160
163
161
-
* `comment`: *Optional.* The file path of the comment message. Comment owner is same with the owner of `access_token`.
164
+
* `comment`: *Optional.* The file path of the comment message. Comment owner is same with the owner of `access_token`.
162
165
163
166
* `merge.method`: *Optional.* Use this to merge the PR into the target branch of the PR. There are three available merge methods -- `merge`, `squash`, or `rebase`. Please this [doc](https://developer.github.com/changes/2016-09-26-pull-request-merge-api-update/) for more information.
164
167
@@ -179,4 +182,3 @@ Requires `ruby` to be installed.
0 commit comments