All notable changes to this project will be documented in this file.
This changelog is automatically maintained by Release Please using Conventional Commits. Do not edit the versioned sections manually.
1.4.0 (2026-07-09)
1.3.1 (2026-07-08)
- replace get_all_pages with gh_api_paginate and use err() helper (89bbeab)
1.3.0 (2026-07-08)
- add Copilot Budget Advisor script and validation tests (c57bfc9)
1.2.1 (2026-06-27)
- eliminate plan_credits duplication, _copilot_api wrapper, and test boilerplate (#43) (16fe695)
- is now visible in Release Please (section: Code Refactoring) (834f342)
1.2.0 (2026-06-27)
1.1.8 (2026-06-27)
- add packages section to release-please config (#39) (cb1a6a4)
- use config-file/manifest-file inputs so version-file is honoured (#38) (8ab12ac)
1.1.7 (2026-06-27)
1.1.6 (2026-06-27)
1.1.5 (2026-06-27)
1.1.4 (2026-06-27)
1.1.3 (2026-06-27)
1.1.2 (2026-06-26)
1.1.1 (2026-06-26)
1.1.0 (2026-06-26)
- add advanced issue search documentation (e2634db)
- add CI workflow to handle documentation-only pull requests (da4a2b4)
- add composite actions, automated releases, and Conventional Commits workflow (f16f4a8)
- add Copilot skills and path-scoped instructions (#11) (4c7b045)
- add GitHub API helpers for organization management and enhance existing functions (35a40a1)
- add github-organize-stars script for organizing starred repositories into GitHub Lists (00f3ad0)
- add pre-commit hooks for secret scanning and shell script security checks (032685f)
- add repository name filtering option for permission management script (761a84b)
- add script to programmatically install enterprise-owned GitHub App (f9f5e0c)
- create issue templates for consistent reporting (e2634db)
- docs: add comprehensive Copilot instructions for GitHub API scripts (42a6622)
- document sub-issues and parent issues functionality (e2634db)
- enhance documentation and error handling across scripts for improved usability and validation (5aa10f7)
- enhance error handling by adding informative messages for missing environment variables (bb511bd)
- enhance scripts with validation functions and improve reporting output (c57e562)
- enhance validation and payload handling across multiple scripts (7a22e3c)
- enhance validation for user inputs and improve error handling across scripts (d7e0c44)
- GH: add sponsor link (#6) (e71f11c)
- implement GitHub release skill documentation (e2634db)
- introduce github-add-repo-permissions script for flexible team permission management (b5c651d)
- make repo AI-ready (#10) (af1a0e4)
- README: description and installation (#3) (5bf42eb)
- Script: initial github-add-repo-admin.sh (#5) (0f46010)
- Script: initial github-get-consumed-licenses.sh (#8) (dedf034)
- Script: initial github-import-repo.sh (#1) (2fa4c1a)
- Script: initial github-monthly-issues-report.sh (#4) (c0cf62d)
- Script: initial github-repo-from-template.sh (#2) (0143bce)
- update README with GitHub Actions integration examples and improve script usage instructions (c5716e9)
- improve echo messages and formatting for better readability in scripts (b547df5)
- improve JWT signing error handling and response parsing in installation script (c9a3810)
- open PR instead of pushing directly to protected main branch (#14) (37982f2)
- update shebang from /bin/bash to /usr/bin/env bash in multiple scripts (bcdc7db)
- feat: composite
action.ymlfor all 16 automation scripts — each script is now usable as auses:step in GitHub Actions workflows, enabling Dependabot to track and bump version pins automatically - feat: Release Please workflow for automated releases on push to
main - feat:
github-install-enterprise-app— programmatically installs an enterprise-owned GitHub App using a second installer app (JWT flow); supports--dry-run - feat:
github-copilot-report— Copilot usage report with Entra ID enrichment, AI credit accounting, and new usage-metrics endpoints - fix:
github-archive-old-repos—REPORT_DIRis now overridable via environment variable - chore: remove
update-readme-sha.ymlworkflow (superseded by release tags) - docs: GitHub Actions section in README restructured to lead with composite action
uses:syntax
- feat:
github-copilot-report— NDJSON usage-metrics endpoints, Entra ID enrichment viaaz rest, credits per seat auto-detection - docs: GitHub Actions integration examples (workflow_dispatch, artifact upload, environment protection)
- fix: validated all required environment variables across all scripts before any API calls
- feat:
github-add-repo-permissions—REPO_NAME_FILTERoption to restrict permission grants to repos matching a name prefix - fix: enhanced validation for user-supplied inputs (slugs, regex patterns, date formats) across multiple scripts
github-copilot-report— Copilot usage report with per-user seat data, AI credit calculations, and optional Entra ID department/job-title enrichmentgithub-repo-permissions-report— CSV report of all user/team permissions and branch-protection bypass actors for a given repo and branch; usesghCLI.githooks/pre-commit— secret scanning (gitleaks or built-in regex) + shellcheck on staged.shfilesinstall-hooks.sh— one-command hook installer (git config core.hooksPath .githooks)
- Standardized all scripts to the
# ===79-char header block with full env-var and requirements documentation - Added
--dry-runflag documentation togithub-close-archived-repo-security-alertsandgithub-enable-issues
lib/github-common.sh— shared utility library:print_status/success/warning/error,require_env_var,require_command,validate_github_token,validate_token,validate_slug,gh_api(Bearer auth + 5-retry rate-limit handling),get_repo_page_count,get_enterprise_orgs(three-tier fallback)github-enable-issues— enables GitHub Issues on all repos in an org that have it disabled; supports--dry-rungithub-get-repo-list— exports a CSV of all repos in an org (visibility, URL, timestamps)github-get-public-repos— discovers all public repos across all enterprise orgs; writes timestamped CSVgithub-migrate-internal-repos-to-private— bulk-converts internal repos to private via PATCHgithub-archive-old-repos— archives repos not pushed to in N years; generates CSV report; prompts for confirmationgithub-auto-repo-creation— creates private repos with branch protection, CODEOWNERS, and admin team grantsgithub-close-archived-repo-security-alerts— dismisses open Dependabot, code-scanning, and secret-scanning alerts on archived repos; supports--typeand--dry-rungithub-add-enterprise-team-read-permissions— grantsall_repo_readorg role to an enterprise team across all enterprise orgs via GraphQL paginationgithub-dockerfile-discovery— code-searches all enterprise orgs for Dockerfiles, extractsFROMinstructions, produces detail + summary CSVs- Reorganized all scripts into domain subdirectories:
org-admin/,enterprise/,reporting/,personal/ .githubinstructions and agent profiles for Copilot
- All scripts refactored to source
lib/github-common.shfor shared validation and output helpers github-repo-from-template: addedCD_GITHUB_TOKENauto-accept collaborator invitation flowgithub-add-repo-collaborators-by-pattern(formerlygithub-add-repo-admin): expanded to supportREPO_EXCLUDE_REGEXand comma-separatedCOLLABORATORS- README: comprehensive rewrite with per-script env var tables, usage examples, and GitHub Actions integration guide
github-organize-stars— fetches all starred repos viaghCLI GraphQL, categorizes by language/topic/name-keyword rules, and adds repos to GitHub Lists in batches of 25; supports--dry-run,-y,--show-repos,--no-cache
github-add-repo-permissions— grants configurable team permissions (admin,maintain,push,triage,pull) across all repos in an org.github/copilot-instructions.md— initial AI agent instructions with architecture overview, API patterns, script-specific behaviors, and common pitfalls
- Standardized shebang to
#!/bin/bashand improvedGITHUB_TOKENvalidation across all scripts - Enhanced error messages for missing environment variables
- Improved output formatting and readability
github-get-consumed-licenses— calls the enterprise consumed-licenses endpoint to return seat consumption and purchase counts
github-repo-from-template: improved handling of template repo options and team permission assignment
github-add-repo-admin(later renamedgithub-add-repo-collaborators-by-pattern) — adds collaborators to repos matching a name pattern
github-import-repo— bare-clones a source repo and mirror-pushes to a new private destination repogithub-repo-from-template— creates a private repo from a template, assigns admin teams, and invites a CD usergithub-monthly-issues-report— generates an HTML report of issues created in a date range with label/timeline tracking- README with project overview and installation instructions