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.33.10
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.33.11
Choose a head ref
  • 2 commits
  • 15 files changed
  • 3 contributors

Commits on Jul 9, 2025

  1. 🩹 [Patch]: Request confirmation before removing/deleting resources wh…

    …ere recovery is difficult/impossible (#465)
    
    This pull request updates multiple PowerShell functions to enhance user
    safety by adding a `ConfirmImpact = 'High'` attribute to the
    `[CmdletBinding]` declaration for commands that perform destructive
    operations. This ensures users are explicitly prompted before executing
    high-impact actions. Additionally, some minor formatting adjustments are
    made.
    
    - Fixes #184
    
    ### Adjustments to `ConfirmImpact` values:
    
    * Updated high-impact function to prompt for confirmation
    (`ConfirmImpact = 'High'`).
    * Removed `ConfirmImpact` attribute for functions that have low impact.
    
    ---------
    
    Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
    Co-authored-by: MariusStorhaug <17722253+MariusStorhaug@users.noreply.github.com>
    Copilot and MariusStorhaug authored Jul 9, 2025
    Configuration menu
    Copy the full SHA
    f2b89e4 View commit details
    Browse the repository at this point in the history

Commits on Jul 10, 2025

  1. 🩹 [Patch]: Update Assert-GitHubContext error message to include conte…

    …xt type info (#469)
    
    This pull request introduces improvements to error handling and
    messaging in PowerShell scripts related to GitHub context validation and
    GraphQL query execution. The changes enhance clarity and provide more
    detailed error information for debugging purposes.
    
    - Fixes #468
    
    ### Improvements to error handling
    
    * Enhanced error message formatting in `Assert-GitHubContext.ps1`:
    Updated the error message to include the context name, type, and
    required types in a more readable format. This improves clarity when the
    context authentication type does not match the required types for a
    command.
    
    * Detailed GraphQL error messages in `Invoke-GitHubGraphQLQuery.ps1`:
    Added a clear header ("GraphQL errors occurred") and moved the full
    error details to the beginning of the error message. This change makes
    the error output more structured and easier to interpret.
    
    ---------
    
    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 Jul 10, 2025
    Configuration menu
    Copy the full SHA
    26ca2a5 View commit details
    Browse the repository at this point in the history
Loading