Add uses/delete_unsuccessful_workflow_runs.py: a script that paginates GitHub Actions workflow runs and deletes any run whose conclusion is not 'success'. It prints per-run actions and totals (checked, deleted, kept). Requires a Personal Access Token with 'repo' and 'workflow' scopes and user configuration of OWNER, REPO, and TOKEN. Useful for cleaning failed/cancelled/timed-out runs while preserving successful history.
Introduces a documentation file outlining conventions, architecture, and usage patterns for standalone Python scripts automating GitHub REST API tasks. Includes guidance on script structure, error handling, naming, token scopes, and dependencies.
Introduces watch_user_repos.py, a script to subscribe to all repositories of a specified GitHub user. The script uses the GitHub API and requires a personal access token, allowing users to stay updated on activity from a particular user or organization.