Add ability to create draft PRs with env var (#5)

* initial effort to add draft PRs

Document how to use draft PR feature

* make PRs draft anytime env var is explicitly declared

* change draft PR env var name

Signed-off-by: Ben Cooper <bencooper222@gmail.com>

* document new draft env var name

* consolidate draft PR logging block

* actually remove draft pr logging
This commit is contained in:
Benjamin Cooper
2019-05-17 17:33:39 -07:00
committed by Vanessasaurus
parent 820608e5d2
commit 1e2916c992
2 changed files with 13 additions and 3 deletions

View File

@@ -32,6 +32,7 @@ Environment variables include:
- **PULL_REQUEST_BRANCH**: the branch to issue the pull request to. Defaults to master.
- **PULL_REQUEST_BODY**: the body for the pull request (optional)
- **PULL_REQUEST_TITLE**: the title for the pull request (optional)
- **PULL_REQUEST_DRAFT**: should the pull request be a draft PR? (optional; unset defaults to `false`)
## Example use Case: Update Registry