Skip to content

Conversation

@MariusStorhaug
Copy link
Member

@MariusStorhaug MariusStorhaug commented Dec 18, 2024

Description

This pull request includes changes to the Connect-GitHubAccount function, adding a new parameter to pass the context object to the pipeline.

Enhancements to Connect-GitHubAccount:

  • Added a new [switch] $PassThru parameter to allow passing the context object to the pipeline.
  • Updated the script to output the context object when the $PassThru parameter is specified.

Testing updates:

  • Added a new test case in GitHub.Tests.ps1 to verify that the context object can be passed through the pipeline using the -PassThru switch.

Type of change

  • 📖 [Docs]
  • 🪲 [Fix]
  • 🩹 [Patch]
  • ⚠️ [Security fix]
  • 🚀 [Feature]
  • 🌟 [Breaking change]

Checklist

  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas

@MariusStorhaug MariusStorhaug requested a review from a team as a code owner December 18, 2024 10:29
@MariusStorhaug MariusStorhaug self-assigned this Dec 18, 2024
@MariusStorhaug MariusStorhaug merged commit d55a1f7 into main Dec 18, 2024
6 checks passed
@MariusStorhaug MariusStorhaug deleted the connectpassthru branch December 18, 2024 10:50
@github-actions
Copy link
Contributor

Module [GitHub - v0.11.17] published to the PowerShell Gallery.

@github-actions
Copy link
Contributor

GitHub release for GitHub v0.11.17 has been created.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

🩹 [Patch]: Let Connect-GitHubAccount be able to pass the context to pipeline

2 participants