Closed tscizzlebg closed 4 years ago
That was fast! What do you think about PRing against the branch for the original PR with PASS_IF_EXISTS and then we can merge into a (non master branch) to test as a full action?
Sure thang
This looks great! Let's merge here, and then you can test as you did before. Fingers crossed!
Cool, pointing to vsoch/pull-request-action@add/pr-exists-error worked for my use cases (same 2 cases as before).
Awesome! Can you share a link to the action so I can take a peek?
It's a private repo, and due to sensitivity / regulation I think it wouldn't be easy to share :(
Added onto vsoch's, by putting the exit code in a different spot.
While in the area, I made the
params
used for theget
different from thedata
used in thepost
, since the API signature is slightly different.Tested it for my use case and it worked (didn't error whether matching PR already existed or not, and created a PR if not).