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
Route the release action through Shelly's scoped installation token and update every canonical workflow example for the required GitHub App secrets. Document the separate Dependabot secret requirement.
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Name the caller file `Process-PSModule.yml`, matching [`PSModule/Template-PSModule`](https://github.com/PSModule/Template-PSModule) and every existing module repository. `workflow.yml` is the reusable workflow's own filename inside `PSModule/Process-PSModule` and belongs only in the `uses:` reference. Pin the reference to a commit SHA with the version tag in a trailing comment so Dependabot can update it.
Copy file name to clipboardExpand all lines: docs/content/reference/workflow-inputs.md
+3-1Lines changed: 3 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -23,12 +23,14 @@ interface it exposes to a caller workflow. For how to wire it up, see
23
23
24
24
## Secrets
25
25
26
-
The workflow declares only two workflow-call secrets, which keeps the calling workflow in full control of the
26
+
The workflow declares four workflow-call secrets, which keeps the calling workflow in full control of the
27
27
credentials that are exposed. `secrets: inherit` is intentionally not required.
28
28
29
29
| Name | Location | Description | Required |
30
30
| ---- | -------- | ----------- | -------- |
31
31
|`APIKey`| GitHub secrets | The API key for the PowerShell Gallery, used to publish the module. | Yes |
32
+
|`GitHubAppClientId`| GitHub secrets | The GitHub App client ID used to mint scoped installation tokens for GitHub API operations. Map Shelly's `SHELLY_CLIENT_ID` in the caller. | Yes |
33
+
|`GitHubAppPrivateKey`| GitHub secrets | The GitHub App private key used to mint scoped installation tokens for GitHub API operations. Map Shelly's `SHELLY_PRIVATE_KEY` in the caller. | Yes |
32
34
|`TestData`| GitHub secrets | A single-line JSON object with `secrets` and `variables` maps, exposed as environment variables to the module test jobs. Values under `secrets` are masked; values under `variables` are not. | No |
33
35
34
36
See [passing test data](../guides/calling-the-workflow.md#passing-test-data) for how to build the `TestData` value.
0 commit comments