Skip to content

Instantly share code, notes, and snippets.

@alxmrtn
alxmrtn / print-talisman-checksums.sh
Last active October 16, 2024 15:29
Print out the expected .talismanrc fileignoreconfig for a repo
#!/bin/bash
talisman -i -g pre-commit -s > /dev/null
files=$(cat ./talisman_report/talisman_reports/data/report.json |\
jq -r '.results[] | select(.failure_list | length > 0) | .filename')
talisman -c="$files"

Keybase proof

I hereby claim:

  • I am alxmrtn on github.
  • I am alxmrtn (https://keybase.io/alxmrtn) on keybase.
  • I have a public key ASAAjHJtcfgFjztMU9TL3Y1r3h1UHzIZQqccUdcfQHAbpAo

To claim this, I am signing this object: