Skip to content

Commit

Permalink
Update niv-updater-action to v6
Browse files Browse the repository at this point in the history
Various fixes in the output, to make it more correct, and avoid spamming
of GitHub histories. Should be faster, too.

This release brings the following:

Formatting:
* Fix: Add an empty line after the title. Now GitHub Commits list looks
  better.
* Fix: Remove preceeding space in the title
* Output branch name used by niv, so that it is clear what is being
  tracked
* Add a title prefix support via `title_prefix` option

Being nice:
* Reformat mentions in the changelog to reduce spamming of mentioned
  developers (now, @knl will not generate a GitHub notification when
  present in the changelog)
* Add option to avoid GitHub backreferencing the PR. That is, when we
  have #123 in the changelog, it will be a correct link to the correct
  repository, however, the referenced PR/issue will not contain a
  reference, thus reducing the spamming. See
  knl/niv-updater-action#26 for more details.
* Make the location of `sources.json` customizable

Performance:
* Replace the use of jo with jq, thus avoiding to install jo
* Do not install hub CLI, as it is present in the default image. This
  should avoid installing hub, speeding up the start.
  • Loading branch information
knl committed Jul 7, 2020
1 parent 7f8fac7 commit 599cad9
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/niv-updater.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: niv-updater-action
# TODO: move to v6 when @knl has had time to release.
uses: knl/niv-updater-action@master
uses: knl/niv-updater-action@v6
with:
whitelist: 'common,advisory-db,napalm'
title_prefix: 'build: '
Expand Down

0 comments on commit 599cad9

Please sign in to comment.