Note: This is a very simple tool designed primarily for my personal workflows. Flakers is just a helper tool replacing flake-to-markdown: Parse a flake lock update commit and output (stdout) readable markdown with compare links to be consumed in a GitHub Action.
build with nix:
nix build github:iff/flakers
example use:
nix --accept-flake-config flake update --commit-lock-file
git log -1 --pretty=%B | tail +3 | nix run github:iff/flakers >> "${GITHUB_OUTPUT}"
example output:
Pass --github-output-armor <KEY> to wrap the output in a
GitHub Actions multiline output delimiter.
This lets you write both the key and value to $GITHUB_OUTPUT in a single pipe,
without needing a separate echo "key=..." >> $GITHUB_OUTPUT step.
git log -1 --pretty=%B | tail +3 | nix run github:iff/flakers -- --github-output-armor message >> "${GITHUB_OUTPUT}"
