Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: locus313/github-api-scripts
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v1.2.0
Choose a base ref
...
head repository: locus313/github-api-scripts
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v1.2.1
Choose a head ref
  • 3 commits
  • 9 files changed
  • 3 contributors

Commits on Jun 27, 2026

  1. refactor: eliminate plan_credits duplication, _copilot_api wrapper, a…

    …nd test boilerplate (#43)
    
    - Collapse plan_credits() from two identical case blocks (promo/standard)
      into one case keyed by plan type with inline promo check — saves ~16 lines
    - Inline gh_api --api-version 2026-03-10 at both call sites and delete the
      _copilot_api() 2-line wrapper that only existed to fix that flag
    - Source lib/github-common.sh in install-hooks.sh to reuse color vars
      (RED/GREEN/YELLOW/NC) instead of redeclaring them; keep the [HOOKS]-labelled
      print functions since they differ from the lib's [SUCCESS]/[WARNING]/[ERROR]
    - Add _run_script() helper to test_script_validation.bats and replace all 59
      single-line run bash -c invocations — removes the repeated
      "export PATH='${MOCK_BIN}:${PATH}';" boilerplate from every test body
    
    All 91 bats tests pass.
    
    Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
    locus313 and Copilot authored Jun 27, 2026
    Configuration menu
    Copy the full SHA
    16fe695 View commit details
    Browse the repository at this point in the history
  2. chore: make refactor commits visible in Release Please changelog (#44)

    * chore: make refactor commits visible in Release Please changelog
    
    Internal cleanup and simplification deserve a patch release.
    Moved 'refactor' from hidden Miscellaneous to a visible
    'Code Refactoring' section so cleanup PRs trigger release PRs.
    
    Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
    
    * docs: update refactor commit type to show patch bump in changelog
    
    refactor: is now visible in Release Please (section: Code Refactoring)
    and triggers a patch version bump. Update the commit convention tables
    in AGENTS.md and copilot-instructions.md to reflect this.
    
    Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
    
    ---------
    
    Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
    locus313 and Copilot authored Jun 27, 2026
    Configuration menu
    Copy the full SHA
    834f342 View commit details
    Browse the repository at this point in the history
  3. chore(main): release 1.2.1 (#45)

    Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
    github-actions[bot] authored Jun 27, 2026
    Configuration menu
    Copy the full SHA
    4c16db9 View commit details
    Browse the repository at this point in the history
Loading