legitify
legitify copied to clipboard
Skip evaluating archived GitHub repos in an org
TL;DR
I would like to be able to set a flag to skip analyzing archived repos in my GitHub organization so I don't have to comb through results of repos that are out of scope. Maybe making that a default behavior would be welcome.
Detailed design
No response
Additional information
No response
Some inspiration- I found I could get some relevant info with the gh cli:
repos=$(gh api orgs/$ORG_NAME/repos --paginate -q ".[] | select(.archived==false) | .full_name")
Added support here: https://github.com/Legit-Labs/legitify/commit/c4118c9fe69c57474d08bc2b4396211d7b07e4bc