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: b220468
Choose a base ref
...
head repository: PSModule/GitHub
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 66a92bf
Choose a head ref
  • 1 commit
  • 4 files changed
  • 3 contributors

Commits on Jun 30, 2025

  1. 🩹 [Patch]: Add URL generation and default formatting for GitHubAppIns…

    …tallations (#443)
    
    This pull request introduces enhancements to the `GitHubAppInstallation`
    class, updates related functions to support new features, and adds a new
    format configuration for displaying `GitHubAppInstallation` objects. The
    changes improve the handling of URLs, streamline object creation, and
    enhance the output formatting for better usability.
    
    - Fixes #442
    
    ### Enhancements to `GitHubAppInstallation` class:
    
    * Added a new `$Url` property to store the profile URL of the target
    based on its type, and updated the constructor to populate this property
    using `html_url` from the API response.
    * Modified the `$Target` property to include `Name`, `Type`, and `Url`,
    dynamically constructing the URL based on the `HostName` parameter.
    * Updated the `$Url` property to provide a direct link to the
    installation settings page using the `HostName`, `Type`, and `Target`.
    
    ### Format configuration for `GitHubAppInstallation`:
    
    * Added a new XML-based format file to define table and list views for
    `GitHubAppInstallation` objects. The table view includes hyperlinks for
    `ID` and `Target.Name` when supported, and the list view includes all
    relevant properties such as `Url`, `Permissions`, and `Events`.
    
    ### Updates to related functions:
    
    * Updated `Get-GitHubEnterpriseOrganizationAppInstallation` to pass the
    `HostName` parameter when creating `GitHubAppInstallation` objects, and
    defined the `.OUTPUTS` section to specify the output type.
    * Updated `Get-GitHubOrganizationAppInstallation` to define the
    `.OUTPUTS` section, specifying that the function outputs
    `GitHubAppInstallation` objects.
    
    ---------
    
    Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
    Co-authored-by: MariusStorhaug <17722253+MariusStorhaug@users.noreply.github.com>
    Co-authored-by: Marius Storhaug <marstor@hotmail.com>
    3 people authored Jun 30, 2025
    Configuration menu
    Copy the full SHA
    66a92bf View commit details
    Browse the repository at this point in the history
Loading