Last active
October 16, 2024 15:29
-
-
Save alxmrtn/67f1ad07e2ecc1c3c21c29990248ebac to your computer and use it in GitHub Desktop.
Print out the expected .talismanrc fileignoreconfig for a repo
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment