Legit-Labs/legitify

Skip evaluating archived GitHub repos in an org

abacchilb opened this issue · 2 comments

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: c4118c9