Skip to content

Skip Hex API key validation in CI workflow#6

Merged
lupodevelop merged 1 commit intomainfrom
workflow/ci-test
Nov 16, 2025
Merged

Skip Hex API key validation in CI workflow#6
lupodevelop merged 1 commit intomainfrom
workflow/ci-test

Conversation

@lupodevelop
Copy link
Owner

Remove the HTTP check against the Hex API for the HEX_API_KEY in the publish-gleam workflow. Now, the workflow only checks for the presence of the secret, avoiding issues with unexpected API responses in some environments and reducing the risk of leaking sensitive information.

Remove the HTTP check against the Hex API for the HEX_API_KEY in the publish-gleam workflow. Now, the workflow only checks for the presence of the secret, avoiding issues with unexpected API responses in some environments and reducing the risk of leaking sensitive information.
Copilot AI review requested due to automatic review settings November 16, 2025 10:59
@lupodevelop lupodevelop merged commit 66dc704 into main Nov 16, 2025
5 checks passed
Copy link

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 simplifies the HEX_API_KEY validation in the publish-gleam workflow by removing the HTTP API check and only verifying the secret's presence. This change addresses issues with unexpected API responses (404s) in some environments and reduces the risk of information leakage.

  • Removes the HTTP call to Hex API /api/me endpoint for key validation
  • Retains the check for secret presence to prevent accidental publishing without credentials
  • Adds clear comments explaining the rationale for skipping API validation

💡 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