Repository navigation
ci: read the API key from an Actions variable - #229
Merged
Merged
Conversation
mogita
requested review from
JimmyPettersson85,
nijeesh-stream,
shaljam and
vishalnarkhede
as code owners
November 14, 2026 00:37
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem
The Stream API key is an identifier, yet CI reads it from a repository secret. A secret cannot be read back, so nobody can see which test app CI runs against.
Solution
The workflows read the key from the
STREAM_CHAT_API_KEYActions variable. The API secret stays a repository secret.How to verify
STREAM_CHAT_API_KEYrepository secret is deleted.Note
Low Risk
Workflow-only change; tests behave the same if the variable holds the former secret value, with a small operational risk if the variable is not configured before removing the old secret.
Overview
CI and scheduled test workflows now inject
STREAM_KEYfrom the GitHub Actions variableSTREAM_CHAT_API_KEYinstead of a repository secret, so the test Stream app key is visible in repo settings whileSTREAM_SECRETstill comes fromsecrets.STREAM_CHAT_API_SECRET.No application or test code changes—only the two workflow env blocks in
ci.ymlandscheduled_test.yml.Reviewed by Cursor Bugbot for commit 6e4fdea. Bugbot is set up for automated code reviews on this repo. Configure here.