knl / niv-updater-action

A GitHub Action that creates meaningful pull requests with updates to your niv-managed dependencies, so you don't have to do menial chores.
BSD 3-Clause "New" or "Revised" License
29 stars 11 forks source link

fix: Use 'hub api' to create the update branch #2

Closed knl closed 4 years ago

knl commented 4 years ago

'hub pull-request' requires a local checkout, so a run would fail in case there was no preceeding checkout step in the workflow.

Switch to using an API call, which doesn't have the said limitation.

What a dumb mistake.

Closes #1.