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

Use the PR title also as the commit title #17

Closed nomeata closed 4 years ago

nomeata commented 4 years ago

much nicer and more useful than having ## Changelog for show up in

git log --oneline

Note that this is untested, I wasn’t sure how to easily do that.

hansl commented 4 years ago

Suggestion: keep $dep in there if we have multiple deps running this updater?

nomeata commented 4 years ago

Not needed:

        printf "niv %s: update %.8s -> %.8s" "$dep" "$revision" "$new_revision" >>"$title"
knl commented 4 years ago

@nomeata Thanks for the PR!

I decided to take a different route (#18), as this one would cause the PR to have its title repeated in the first line of the PRs body.