Skip to content

feat: revert GEM_HOST_API_KEY secret name for semantic-release#26

Merged
RomKadria merged 1 commit into
mainfrom
feature/romka/revert-ci-change
Oct 26, 2025
Merged

feat: revert GEM_HOST_API_KEY secret name for semantic-release#26
RomKadria merged 1 commit into
mainfrom
feature/romka/revert-ci-change

Conversation

@RomKadria

Copy link
Copy Markdown
Collaborator

Problem

The semantic-release CI job was failing with the error:

SemanticReleaseError: No gem API key specified.

This error occurred after commit 874e497 when the CI workflow was updated.

Root Cause

The semantic-release-rubygem plugin expects the gem API key to be in the GEM_HOST_API_KEY environment variable. The workflow was updated to reference secrets.RUBYGEMS_API_KEY instead of secrets.GEM_HOST_API_KEY, but this secret doesn't exist in the repository.

Solution

This PR reverts the secret name from RUBYGEMS_API_KEY back to GEM_HOST_API_KEY to restore the working configuration from commit 6c86b04.

Changes

  • Reverted .github/workflows/ci.yml to use secrets.GEM_HOST_API_KEY instead of secrets.RUBYGEMS_API_KEY

Testing

This configuration was previously working successfully in commit 6c86b04 which triggered release 585399a.

Reverts the secret name from RUBYGEMS_API_KEY back to GEM_HOST_API_KEY
to fix the "No gem API key specified" error in semantic-release CI.

The secret GEM_HOST_API_KEY already exists in the repository and was
working correctly before the CI workflow update.
@RomKadria RomKadria force-pushed the feature/romka/revert-ci-change branch from 4f903b7 to f9a0e19 Compare October 26, 2025 07:12
@RomKadria RomKadria changed the title fix: revert GEM_HOST_API_KEY secret name for semantic-release feat: revert GEM_HOST_API_KEY secret name for semantic-release Oct 26, 2025
@RomKadria RomKadria merged commit 0fbfc10 into main Oct 26, 2025
11 checks passed
github-actions Bot pushed a commit that referenced this pull request Oct 26, 2025
# [3.16.0](v3.15.1...v3.16.0) (2025-10-26)

### Features

* Add support for Rails 8, Ruby 3, and latest GraphQL gem ([#21](#21)) ([10b1dac](10b1dac))
* improve README formatting for installation instructions ([#25](#25)) ([874e497](874e497))
* publish new version ([#24](#24)) ([b4bbd19](b4bbd19))
* revert GEM_HOST_API_KEY secret name for semantic-release ([#26](#26)) ([0fbfc10](0fbfc10))
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.

1 participant