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: PSModule/GitHub
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v0.36.2
Choose a base ref
...
head repository: PSModule/GitHub
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v0.36.3
Choose a head ref
  • 1 commit
  • 1 file changed
  • 2 contributors

Commits on Aug 6, 2025

  1. 🩹 [Patch]: Update the examples for how to connect using the module (#489

    )
    
    ## Description
    
    This pull request updates the `examples/Connecting.ps1` script to
    clarify and expand the usage examples for GitHub connection methods,
    including new authentication flows and improved documentation. The
    changes also make some minor corrections to comments and example
    commands related to context management.
    
    Authentication and connection improvements:
    
    * Added examples for connecting to GitHub programmatically using a token
    and clarified support for both fine-grained and classic PATs in the
    `Connect-GitHub` command.
    * Added new examples for connecting using a GitHub App with a private
    key stored in Azure Key Vault, including the use of `Connect-GitHubApp`
    for organizational contexts.
    * Improved comments for OAuth App, Device Flow, and PAT authentication
    flows to clarify best practices and supported scenarios.
    
    Context and profile management:
    
    * Updated comments to clarify that context names can be tab-completed
    and corrected a typo in the `Switch-GitHubContext` example
    (`Switch-GitHubCwontext`).
    
    ## Type of change
    
    <!-- Use the check-boxes [x] on the options that are relevant. -->
    
    - [ ] 📖 [Docs]
    - [ ] 🪲 [Fix]
    - [x] 🩹 [Patch]
    - [ ] ⚠️ [Security fix]
    - [ ] 🚀 [Feature]
    - [ ] 🌟 [Breaking change]
    
    ## Checklist
    
    <!-- Use the check-boxes [x] on the options that are relevant. -->
    
    - [x] I have performed a self-review of my own code
    - [x] I have commented my code, particularly in hard-to-understand areas
    
    ---------
    
    Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
    MariusStorhaug and Copilot authored Aug 6, 2025
    Configuration menu
    Copy the full SHA
    036e74a View commit details
    Browse the repository at this point in the history
Loading