-
Notifications
You must be signed in to change notification settings - Fork 5
🪲 [Fix]: GitHub App Installations load failure #200
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
Module [GitHub - 0.11.6] published to the PowerShell Gallery. |
|
GitHub release for GitHub v0.11.6-apps31 has been created. |
|
Module [GitHub - 0.11.6] published to the PowerShell Gallery. |
|
GitHub release for GitHub v0.11.6-apps32 has been created. |
…ntext name structure
|
Module [GitHub - 0.11.6] published to the PowerShell Gallery. |
|
GitHub release for GitHub v0.11.6-apps33 has been created. |
|
Module [GitHub - 0.11.6] published to the PowerShell Gallery. |
|
GitHub release for GitHub v0.11.6-apps34 has been created. |
|
Module [GitHub - 0.11.6] published to the PowerShell Gallery. |
|
GitHub release for GitHub v0.11.6-apps35 has been created. |
…Events, and Token
…based on existing values
…n and New-GitHubAppInstallationAccessToken calls
…g of context properties
…prove verbose logging for better clarity
… in Set-GitHubContext
…bosity for clarity
|
Module [GitHub - 0.11.6] published to the PowerShell Gallery. |
|
GitHub release for GitHub v0.11.6 has been created. |
Description
This pull request includes several changes to improve the handling of GitHub contexts and enhance the functionality of the
Connect-GitHubAccountandConnect-GitHubAppfunctions. The most important changes include updating the type of thePermissionsproperty, adding parameterless constructors, and modifying the logic for loading GitHub App contexts.Enhancements to GitHub context handling:
src/classes/public/Context/GitHubContext/AppGitHubContext.ps1: Changed the type of thePermissionsproperty fromstring[]topscustomobjectand added a parameterless constructor.src/classes/public/Context/GitHubContext/InstallationGitHubContext.ps1: Changed the type of thePermissionsproperty fromstring[]topscustomobjectand added a parameterless constructor. [1] [2]src/classes/public/Context/GitHubContext/UserGitHubContext.ps1: Added a parameterless constructor.Improvements to
Connect-GitHubAccountfunction:src/functions/public/Auth/Connect-GitHubAccount.ps1: Renamed parameters (SkipAppAutoloadtoAutoloadInstallations), removed unused parameters (Shallow), and updated the logic for loading GitHub App contexts. [1] [2] [3] [4]Enhancements to
Connect-GitHubAppfunction:src/functions/public/Auth/Connect-GitHubApp.ps1: Removed theShallowparameter, added context resolution and validation in theprocessblock, and updated the logic for processing installations. [1] [2]Refinements to
Set-GitHubContextfunction:src/functions/public/Auth/Context/Set-GitHubContext.ps1: Refactored to use a local variable for context manipulation and added detailed logging for context information.Coverage documentation updates:
Coverage.md: Updated the number of available and missing functions, and adjusted the coverage percentage. [1] [2]Type of change
Checklist