File tree Expand file tree Collapse file tree 1 file changed +16
-8
lines changed
Expand file tree Collapse file tree 1 file changed +16
-8
lines changed Original file line number Diff line number Diff line change @@ -495,12 +495,16 @@ jobs:
495495 Get-GitHubAppInstallation | Format-Table -AutoSize | Out-String
496496 }
497497
498- LogGroup 'Do something as an installation' {
499- Get-GithubAppInstallation | New-GitHubAppInstallationAccessToken | ForEach-Object {
500- Connect-GitHub -Token $_.token -Silent
498+ LogGroup 'Connect to all installations of the app' {
499+ Connect-GitHubApp
500+ }
501+
502+ LogGroup 'Contexts' {
501503 Get-GitHubContext | Format-Table -AutoSize | Out-String
504+ }
505+
506+ LogGroup 'GitConfig' {
502507 Get-GitHubGitConfig | Format-Table -AutoSize | Out-String
503- }
504508 }
505509
506510 ActionTestWithGitHubAppOrg :
@@ -526,12 +530,16 @@ jobs:
526530 Get-GitHubAppInstallation | Format-Table -AutoSize | Out-String
527531 }
528532
529- LogGroup 'Do something as an installation' {
530- Get-GithubAppInstallation | New-GitHubAppInstallationAccessToken | ForEach-Object {
531- Connect-GitHub -Token $_.token -Silent
533+ LogGroup 'Connect to all installations of the app' {
534+ Connect-GitHubApp
535+ }
536+
537+ LogGroup 'Contexts' {
532538 Get-GitHubContext | Format-Table -AutoSize | Out-String
539+ }
540+
541+ LogGroup 'GitConfig' {
533542 Get-GitHubGitConfig | Format-Table -AutoSize | Out-String
534- }
535543 }
536544
537545 ActionTestPreserveCredentialsFalse :
You can’t perform that action at this time.
0 commit comments