You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
🩹 [Patch]: Update test to connect a GitHub App using Connect-GitHubApp (#60)
## Description
This pull request updates the `.github/workflows/TestWorkflow.yml` file
to improve the organization and output formatting of GitHub-related logs
in the workflow scripts. The most important changes include switching
from `Format-Table` to `Format-List` for better readability,
restructuring log groups for clarity, and replacing specific
installation token-based connections with a streamlined
`Connect-GitHubApp` command.
### Improvements to output formatting:
* Changed the output formatting from `Format-Table` to `Format-List` for
`Get-GitHubApp` and `Get-GitHubConfig` commands to enhance readability.
[[1]](diffhunk://#diff-242a265d6d6bfff6094c9285345022d0e6d7ddde58504dfc80249fafbd89ba2cL491-R507)
[[2]](diffhunk://#diff-242a265d6d6bfff6094c9285345022d0e6d7ddde58504dfc80249fafbd89ba2cL522-R542)
### Workflow restructuring:
* Replaced the token-based connection logic
(`New-GitHubAppInstallationAccessToken` and `Connect-GitHub`) with a
simplified `Connect-GitHubApp` command to connect to all installations
of the app.
[[1]](diffhunk://#diff-242a265d6d6bfff6094c9285345022d0e6d7ddde58504dfc80249fafbd89ba2cL491-R507)
[[2]](diffhunk://#diff-242a265d6d6bfff6094c9285345022d0e6d7ddde58504dfc80249fafbd89ba2cL522-R542)
* Added new log groups for `Contexts` (`Get-GitHubContext
-ListAvailable`) and `GitHubConfig` (`Get-GitHubConfig`) to improve
clarity and organization of workflow logs.
[[1]](diffhunk://#diff-242a265d6d6bfff6094c9285345022d0e6d7ddde58504dfc80249fafbd89ba2cL491-R507)
[[2]](diffhunk://#diff-242a265d6d6bfff6094c9285345022d0e6d7ddde58504dfc80249fafbd89ba2cL522-R542)
## 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
0 commit comments