Skip to content

iff/flakers

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

flakers

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.

installation (nix flake)

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:

example output

--github-output-armor

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}"

About

turns Nix flake lock update commits into human-readable markdown changelogs with compare links, designed to run as a step in GitHub Actions workflows

Resources

Stars

Watchers

Forks

Contributors