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

Better handling of GitHub SSH links #41

Closed knl closed 3 years ago

knl commented 3 years ago

As these links come in many forms:

This change takes care of properly handling each of them, so we could cover all possible instances.

The code assumes that the content of sources.json is correct, and that niv already verified that links are good. Thus, the checks and extractions are more lenient than they should be.

Fixes #40