tylerdgenius/Repo Janitor

Clean up stale branches and PRs in a repository.

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
github_tokenGitHub token with issues: write to open approval issues.no${{ github.token }}
issue_tokenGitHub token with issues: write to open approval issues. Overrides github_token if provided.no""
branch_age_daysMinimum branch age in days before applying cleanup rules.no7
branch_allow_patternsComma-separated JavaScript regex patterns; branches must match at least one to be auto-cleaned.no""
branch_deny_patternsComma-separated JavaScript regex patterns; branches matching any are excluded from cleanup.no""
desk_check_labelLabel indicating a PR has a desk check and should not be auto-drafted.nodesk-check
desk_check_comment_phraseComment phrase indicating a PR has a desk check and should not be auto-drafted.nodesk check
issue_mention_usersComma-separated GitHub usernames to tag for approval when branches do not match allow patterns (or when allow patterns are empty).no""
issue_wait_minutesMinutes to wait for issue approval before defaulting to delete.no20
dry_runWhen true, logs actions without making changes.nofalse

no outputs