Skip to content

Commit ac2caa1

Browse files
Document reusable GitHub App secrets
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent 69a8a7c commit ac2caa1

1 file changed

Lines changed: 18 additions & 0 deletions

File tree

README.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,3 +11,21 @@ The full documentation lives on the MSX / Docs site:
1111
📖 **[Process-PSModule documentation](https://msxorg.github.io/docs/Frameworks/Process-PSModule/)**
1212

1313
It covers getting started, the pipeline stages, usage, configuration, repository structure, and the principles behind the framework.
14+
15+
## Reusable workflow secrets (GitHub App auth)
16+
17+
When calling `./.github/workflows/workflow.yml`, pass GitHub App credentials using these generic reusable-workflow secret names:
18+
19+
- `GitHubAppClientId`
20+
- `GitHubAppPrivateKey`
21+
22+
Consumer repositories can keep their own secret names and map them in the caller workflow, for example:
23+
24+
```yaml
25+
jobs:
26+
ProcessPSModule:
27+
uses: ./.github/workflows/workflow.yml
28+
secrets:
29+
GitHubAppClientId: ${{ secrets.PSMODULE_CLIENT_ID }}
30+
GitHubAppPrivateKey: ${{ secrets.PSMODULE_PRIVATE_KEY }}
31+
```

0 commit comments

Comments
 (0)