the alpine image no longer allows installing to system python
the fix is to target a virtual environment python3.
Signed-off-by: vsoch <vsoch@users.noreply.github.com>
* support custom token and repo
* print post url if there's error
* update as comments
* Update README.md
Co-authored-by: Vanessasaurus <814322+vsoch@users.noreply.github.com>
* dont use version for examples, stick to master
* add note about it being important to use stable release in README.md
Signed-off-by: vsoch <vsoch@users.noreply.github.com>
* adding changes to update a pr
including a second envar to set a state, along with refactor
of main body to be multiple functions, and adding docstrings
* fixing missing variable
* Try removing maintainer can modify
* Update pull-request.py
Signed-off-by: vsoch <vsoch@users.noreply.github.com>
* replacing set-env with new environment syntax
* using direct append to file for set_env instead of os.system
Signed-off-by: vsoch <vsochat@stanford.edu>
* 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>
* Update pull-request.sh
* making reviewer failure more verbose
* updating pull request script to be more verbose
* final tweaks to remove extra printing
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
This PR will add the ability to specify one or more individual users
or team names to the environment to request for review.
Signed-off-by: vsoch <vsochat@stanford.edu>