feat: add stale-repos and pending-releases audit tasks Completes the Tier 2 org visibility tasks from the plan. stale-repos Lists all non-archived repos whose last push pre-dates a configurable cutoff (MONTHS=12 default). Sorted by push date ascending (stalest first) and age-coloured: red >2 years, yellow >1 year, normal otherwise. Outputs the last-push date and age in months so it's easy to triage archiving candidates. FILTER= narrows by repo name. pending-releases Finds open PRs labelled "autorelease: pending" across the entire org via gh search — fast, single query. Shows repo, PR number, age, and title in an age-coloured table (red >14d, yellow >3d, green <3d). Designed as the table-view companion to list-release-prs (which opens browser tabs). FILTER= narrows by repo name. Footer links to force-merge-prs and list-release-prs for next steps. Also adds both tasks to the file header reference comment. https://claude.ai/code/session_01SFKChTX8gNGNmh4in5Fj8W#141
Merged
feat: add stale-repos and pending-releases audit tasks
Completes the Tier 2 org visibility tasks from the plan.
stale-repos
Lists all non-archived repos whose last push pre-dates a configurable
cutoff (MONTHS=12 default). Sorted by push date ascending (stalest
first) and age-coloured: red >2 years, yellow >1 year, normal
otherwise. Outputs the last-push date and age in months so it's easy
to triage archiving candidates. FILTER= narrows by repo name.
pending-releases
Finds open PRs labelled "autorelease: pending" across the entire org
via gh search — fast, single query. Shows repo, PR number, age, and
title in an age-coloured table (red >14d, yellow >3d, green <3d).
Designed as the table-view companion to list-release-prs (which opens
browser tabs). FILTER= narrows by repo name. Footer links to
force-merge-prs and list-release-prs for next steps.
Also adds both tasks to the file header reference comment.
https://claude.ai/code/session_01SFKChTX8gNGNmh4in5Fj8W#141
Conversation
Adds five new tasks for gaining visibility across all 180+ repos without requiring local clones — pure gh API throughout. migration-status Uses GitHub code search (search/code) to find repos containing release-please-config.json in one paginated request, then diffs against the full repo list. Shows a progress bar + % complete and lists all un-migrated repos by name. FILTER= narrows by name substr. open-prs gh search prs --owner sous-chefs gives all open PRs in a single query. Table is age-coloured (green/yellow/red) and sorted by repo. FILTER=, AUTHOR=, LABEL= are applied as post-search jq filters. ci-status Iterates repos active in the last 90 days, checks /commits/main/check-runs for each, and reports any failures with the failing check names. Progress printed every 25 repos. FILTER= narrows scope. label-sync Ensures all repos have the four labels that release-please and Renovate depend on: autorelease:pending, autorelease:tagged, Release:Patch, Skip:Announcements. Uses gh label create --force so it is idempotent. DRY_RUN=true previews without changes. FILTER= targets a subset of repos. secrets-check Lists org-level Actions secrets and checks whether the three required release pipeline secrets are present (PORTER_GITHUB_TOKEN, CHEF_SUPERMARKET_USER, CHEF_SUPERMARKET_KEY). Links to the org secrets settings page if any are missing. Also adds the five new tasks to the file header reference comment. https://claude.ai/code/session_01SFKChTX8gNGNmh4in5Fj8W
Completes the Tier 2 org visibility tasks from the plan. stale-repos Lists all non-archived repos whose last push pre-dates a configurable cutoff (MONTHS=12 default). Sorted by push date ascending (stalest first) and age-coloured: red >2 years, yellow >1 year, normal otherwise. Outputs the last-push date and age in months so it's easy to triage archiving candidates. FILTER= narrows by repo name. pending-releases Finds open PRs labelled "autorelease: pending" across the entire org via gh search — fast, single query. Shows repo, PR number, age, and title in an age-coloured table (red >14d, yellow >3d, green <3d). Designed as the table-view companion to list-release-prs (which opens browser tabs). FILTER= narrows by repo name. Footer links to force-merge-prs and list-release-prs for next steps. Also adds both tasks to the file header reference comment. https://claude.ai/code/session_01SFKChTX8gNGNmh4in5Fj8W
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Describe what this change achieves.
Issues Resolved
List any existing issues this PR resolves.
Check List
fix: resolve bug in resource,feat: add new property,docs: update READMEDO NOT manually edit these files:
metadata.rbversion - Managed by release-pleaseCHANGELOG.md- Auto-generated from conventional commitsThe release process:
Need help? See Conventional Commits guide