* adding PASS_IF_EXISTS
Signed-off-by: vsoch <vsochat@stanford.edu>
* PASS_IF_EXISTS option, to not error out when a matching PR already is open (#52)
* Pass filters to request for PRs, and move PASS_IF_EXISTS exit in different spot
* Changed a printout to say the params used for a req
* break when looping through branches and find the matching one
Co-authored-by: Vanessasaurus <vsochat@gmail.com>
Co-authored-by: tscizzlebg <54290732+tscizzlebg@users.noreply.github.com>
* testing fixes for original query for pr
* bugfix
* need to loop through
* Adding more verbosity
* adding is_open
* Adding GET request with headers if needed
* Update pull-request.py
* Update pull-request.sh
* making reviewer failure more verbose
* More debugging
* updating pull request script to be more verbose
* need to pipe curl_wrapper into stderr so it doesnt return
* final tweaks to remove extra printing
* Testing assign request again
* updating to be more verbose
* testing with python entrypoint
Signed-off-by: vsoch <vsochat@stanford.edu>
* Tell curl to set an exit code if the request fails
* Remove the `--user GITHUB_ACTOR` from curl calls
* fixup! Tell curl to set an exit code if the request fails
* 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