Commit a32e0b2
ci(features): pass only the secrets the called workflow actually needs
Replace `secrets: inherit` with an explicit `secrets:` map that
forwards only `ABLY_AWS_ACCOUNT_ID_SDK` to the called reusable
workflow.
With `secrets: inherit` every secret available to this repository is
implicitly handed to `ably/features/.github/workflows/sdk-features.yml`
on each invocation, including secrets that workflow does not need
(Sonatype publishing credentials, GPG signing keys, etc.). The called
workflow declares only one required secret on its `workflow_call`
trigger and otherwise relies on `GITHUB_TOKEN`, which reusable
workflows receive automatically from the caller and so does not need
to be passed via `secrets:`.
Closes 1 zizmor `secrets-inherit` finding.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent aad3c10 commit a32e0b2
1 file changed
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
| 14 | + | |
| 15 | + | |
0 commit comments