Skip to content

Commit 4673b91

Browse files
committed
ci: pass only required secret to reusable workflow
The called workflow only declares ABLY_AWS_ACCOUNT_ID_SDK in its workflow_call.secrets contract. Replace secrets: inherit with an explicit passthrough so other repo secrets aren't forwarded into a workflow that has no need for them.
1 parent ee124ac commit 4673b91

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

.github/workflows/features.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,5 @@ jobs:
1717
uses: ably/features/.github/workflows/sdk-features.yml@6b3fc7a8ede2ebdd7a6325314f3a96c6466f1453 # main
1818
with:
1919
repository-name: ably-ruby
20-
secrets: inherit
20+
secrets:
21+
ABLY_AWS_ACCOUNT_ID_SDK: ${{ secrets.ABLY_AWS_ACCOUNT_ID_SDK }}

0 commit comments

Comments
 (0)