Skip to content

Commit dd75124

Browse files
[~] Complete renaming
1 parent 76df9d8 commit dd75124

2 files changed

Lines changed: 10 additions & 10 deletions

File tree

.github/workflows/main.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -65,9 +65,9 @@ jobs:
6565
NUGET_KEY: ${{ secrets.NUGET_KEY }}
6666
shell: pwsh
6767
run: |
68-
New-Item -Path "./Output/PSGithub" -ItemType Directory
69-
Copy-Item -Path "./PSGithub/*" -Destination "./Output/PSGithub" -Recurse
70-
Publish-Module -Path "./Output/PSGithub" -NuGetApiKey $env:NUGET_KEY -Verbose
68+
New-Item -Path "./Output/PSGithubUtils" -ItemType Directory
69+
Copy-Item -Path "./PSGithubUtils/*" -Destination "./Output/PSGithubUtils" -Recurse
70+
Publish-Module -Path "./Output/PSGithubUtils" -NuGetApiKey $env:NUGET_KEY -Verbose
7171
# Only publish on release
7272
if: ${{ github.event_name == 'release' }}
7373
needs: [lint-with-PSScriptAnalyzer, pester-test]

README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,24 @@
1-
# PSGithub
1+
# PSGithubUtils
22

3-
The PSGithub module provides some basic interactions with the Github API. Importantly, it supports authentication using Github Applications with private keys in unencrypted PKCS#8 format.
3+
The PSGithubUtils module provides some basic interactions with the Github API. Importantly, it supports authentication using Github Applications with private keys in unencrypted PKCS#8 format.
44

55
## Basic Usage
66

77
After obtaining the secret, the first step is to obtain a github session token to be used for the future calls.
88

99
```powershell
10-
$token = Get-GithubToken -KeyPath C:\secret.pem -AppId 369225 -InstallationId 40233370
11-
New-OrganizationMember -Token $token -Organization "adesso-Copilot" -Email "torben.soennecken@adesso.de"
10+
$token = Get-GithubToken -KeyPath C:\secret.pem -AppId 2131234 -InstallationId 5342523356
11+
New-OrganizationMember -Token $token -Organization "Organization123" -Email "asdasd@test.de"
1212
```
1313

1414
## Using PowerShellForGithub
1515

1616
```powershell
1717
Set-GitHubConfiguration -DisableTelemetry
18-
Get-GitHubOrganizationMember -AccessToken $token -OrganizationName "adesso-Copilot"
19-
Test-GitHubOrganizationMember -AccessToken $token -OrganizationName "adesso-Copilot" -UserName "MarkusSchoelzel"
18+
Get-GitHubOrganizationMember -AccessToken $token -OrganizationName "Organization123"
19+
Test-GitHubOrganizationMember -AccessToken $token -OrganizationName "Organization123" -UserName "User123"
2020
```
2121

2222
## Authors
2323

24-
- **Torben Soennecken**
24+
- **Torben Soennecken**

0 commit comments

Comments
 (0)