Skip to content

Commit 806a892

Browse files
Use Shelly credentials in workflow callers
Map Shelly's repository secrets into the generic GitHub App reusable-workflow contract in the test callers and documented example. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
1 parent 5f4652d commit 806a892

3 files changed

Lines changed: 6 additions & 6 deletions

File tree

.github/workflows/Workflow-Test-Default.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,8 @@ jobs:
3131
uses: ./.github/workflows/workflow.yml
3232
secrets:
3333
APIKey: ${{ secrets.APIKey }}
34-
GitHubAppClientId: ${{ secrets.PSMODULE_CLIENT_ID }}
35-
GitHubAppPrivateKey: ${{ secrets.PSMODULE_PRIVATE_KEY }}
34+
GitHubAppClientId: ${{ secrets.SHELLY_CLIENT_ID }}
35+
GitHubAppPrivateKey: ${{ secrets.SHELLY_PRIVATE_KEY }}
3636
TestData: >-
3737
{
3838
"secrets": {

.github/workflows/Workflow-Test-WithManifest.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,8 @@ jobs:
3131
uses: ./.github/workflows/workflow.yml
3232
secrets:
3333
APIKey: ${{ secrets.APIKey }}
34-
GitHubAppClientId: ${{ secrets.PSMODULE_CLIENT_ID }}
35-
GitHubAppPrivateKey: ${{ secrets.PSMODULE_PRIVATE_KEY }}
34+
GitHubAppClientId: ${{ secrets.SHELLY_CLIENT_ID }}
35+
GitHubAppPrivateKey: ${{ secrets.SHELLY_PRIVATE_KEY }}
3636
TestData: >-
3737
{
3838
"secrets": {

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@ jobs:
2626
ProcessPSModule:
2727
uses: ./.github/workflows/workflow.yml
2828
secrets:
29-
GitHubAppClientId: ${{ secrets.PSMODULE_CLIENT_ID }}
30-
GitHubAppPrivateKey: ${{ secrets.PSMODULE_PRIVATE_KEY }}
29+
GitHubAppClientId: ${{ secrets.SHELLY_CLIENT_ID }}
30+
GitHubAppPrivateKey: ${{ secrets.SHELLY_PRIVATE_KEY }}
3131
```
3232
3333
This is a required contract for GitHub operations in the reusable workflow path; a GitHub App installation token is minted and used for those steps via `GH_TOKEN`, and `github.token` fallback is intentionally not used.

0 commit comments

Comments
 (0)