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 License

Stars
29
Committers
7

Bot releases are hidden (Show)

niv-updater-action - Release v13 Latest Release

Published by knl 9 months ago

This is another long awaited release, that wouldn't have been possible without contributions @jfroche. Many thanks!

This release:

  • Fixes an issue with nix paths inside the action
  • Switches to node.js 20, as 16 is deprecated
  • Uses newer niv from nixpkgs 23.11
niv-updater-action - Release v12

Published by knl almost 2 years ago

This is an emergency release, as the previous release broke the execution, due to bad mode on a file.

niv-updater-action - Release v11

Published by knl almost 2 years ago

This is a long awaited release, that wouldn't have been possible without contributions from @ggreif and @jfroche. Thanks!

This release:

  • Uses a more recent nix (2.11.1)
  • Allows using this action with self-hosted runners by setting niv_version to *from-nixpkgs*
  • Fixes the retrieval of the changelog
  • Makes sure that the PR description fits the maximum allowed size (GitHub limitation)
  • Switches to node.js 16

Full Changelog: https://github.com/knl/niv-updater-action/compare/v10...v11

niv-updater-action - Release v10

Published by knl almost 3 years ago

This is a cleanup release, to tie some loose ends.

Namely, this release:

  • fixes the links so they now use togithub.com service instead of r.duckduckgo.com for redirects. This is used to avoid github linking the referenced issue, and creating unnecessary noise
  • allows the use of dash in the repository name
  • richer debugging output, at least when running the hub command
niv-updater-action - Release v9

Published by knl over 3 years ago

Snow Leopard to your Leopard -- this release contains some improvements and bug fixes to v8. Notably, niv-updater-action now properly handles repositories whose main branch is main, offers better handling of various SSH links to GitHub repositories, and finally, fixes an annoying problem with self-updating PRs, where update would fail unexpectedly*.

[*] Unexpectedly is defined as in: niv-updater-action was using hub pr command to fetch PRs branch -- that doesn't work without a checkout, so it would fail almost every time if the action was not preceeded by a checkout action. Which it was not, at least not in the examples given.

niv-updater-action - Release v8

Published by knl almost 4 years ago

This release brings a new feature: ability to keep updating PRs with new changes to the tracked project. That is, if niv-updater-action opens a PR, each subsequent call will keep updating the PR with newly added changes to the tracked project, until PR is closed. So, if you're tracking a fast changing project (for example, nixpkgs), but you're slow to merge the niv update PR, it will at least have the most recent changes.

niv-updater-action - Release v7

Published by knl about 4 years ago

Recent changes in niv dropped the usage of ref as a branch in git sources. The new attribute name is branch.

niv-updater-action - Release v6

Published by knl over 4 years ago

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
    https://github.com/knl/niv-updater-action/issues/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.
niv-updater-action - Release v5

Published by knl over 4 years ago

Snow Leopard to v4

This release brings the following:

  • fix: Commits now have proper subjects. It used to be that the subject
    line was missing, leaving '## Changelog for xxx' as the subject line.
    This lead to some really ugly changelogs. Thanks @nomeata and @pbogdan
  • The validity of the GITHUB_TOKEN is now checked before any operation
    starts. This helps with debugging failed runs.
niv-updater-action - Release v4

Published by knl over 4 years ago

A bag full of goodies.

This release brings the following:

  • Labels: one can now attach labels to the created PRs
  • fix: Issue links in the changelog now point to the right repository
  • Generated branches now sport a customizable prefix
  • Generated commit messages now sport a customizable prefix and a suffix
  • Merge commits do not show up in the changelog by default (but you can
    turn then back on).
niv-updater-action - Release v3

Published by knl over 4 years ago

The third time's the charm!

This release brings many improvements and some changes in the API:

  • Builds are faster since fetching niv improved significantly due to
    https://github.com/nmattia/niv/pull/205
  • Builds are also faster as we don't install git and jq anymore (they
    are present on the image already)
  • Use whitelist and blacklist to narrow down what needs to be installed
  • Boolean looking inputs now use boolean values (false and true),
    instead of illogical empty string/any string distinction
niv-updater-action - Release v2

Published by knl over 4 years ago

Fixes an annoying bug with hub pull-request invocation, where it would fail if there was no preceding checkout. Now we rely only on hub api calls to do our business.

niv-updater-action - Release v1

Published by knl over 4 years ago

This release brings all the good features:

  • Create update pull requests for each dependency. This action will avoid creating other pull requests for the same dependency until the branch for the dependency update is deleted.
  • Allow skipping some dependencies
  • Allow skipping dependencies behind SSH (as keys are not available to the Action)
  • Allow skipping updates for dependencies that have a version (not git SHA) for the revision. That is, allow for tagged releases to stay so (until niv adds functionality for that).
Package Rankings
Top 5.03% on Github actions
Related Projects