Skip to content

Conversation

@ryoppippi
Copy link
Member

@ryoppippi ryoppippi commented Jan 3, 2026

Summary

Remove unused API key environment variables from CI workflow.

Changes

  • Removed STACKONE_API_KEY and OPENAI_API_KEY environment variables from ci and coverage jobs

Reason

These environment variables are not actually used in tests:

  • STACKONE_API_KEY: Only referenced in a skipped integration test (test_live_feedback_submission)
  • OPENAI_API_KEY: Not used in any tests (only in examples)

Testing

  • ✅ Pre-commit hooks passed
  • ✅ No tests require these environment variables

Summary by cubic

Removed unused STACKONE_API_KEY and OPENAI_API_KEY from the CI and coverage jobs to reduce secret exposure and simplify the workflow. Tests don’t use these keys (STACKONE only in a skipped integration test; OPENAI only in examples).

Written for commit 214db5a. Summary will update on new commits.

Remove STACKONE_API_KEY and OPENAI_API_KEY environment variables from CI workflow as they are not used in tests:
- STACKONE_API_KEY is only used in a skipped integration test
- OPENAI_API_KEY is not used in any tests
Copilot AI review requested due to automatic review settings January 3, 2026 13:35
@ryoppippi ryoppippi changed the title chore: remove unused API keys from CI workflow ci: remove unused API keys from CI workflow Jan 3, 2026
@ryoppippi ryoppippi merged commit daa1a7e into main Jan 3, 2026
15 checks passed
@ryoppippi ryoppippi deleted the remove-unused-api-keys-from-ci branch January 3, 2026 13:36
Copy link

@cubic-dev-ai cubic-dev-ai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No issues found across 1 file

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR removes unused API key environment variables (STACKONE_API_KEY and OPENAI_API_KEY) from the CI workflow configuration. These credentials are not required for running the test suite since the only test that references STACKONE_API_KEY is skipped, and OPENAI_API_KEY is only used in example code, not tests.

Key Changes:

  • Removed STACKONE_API_KEY and OPENAI_API_KEY from the ci job environment configuration
  • Removed STACKONE_API_KEY and OPENAI_API_KEY from the coverage job environment configuration

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants