Skip to content

ci: pass GITHUB_TOKEN to semantic-release#10

Merged
Xe merged 2 commits intomainfrom
Xe/belo-horizonte
Jan 14, 2026
Merged

ci: pass GITHUB_TOKEN to semantic-release#10
Xe merged 2 commits intomainfrom
Xe/belo-horizonte

Conversation

@Xe
Copy link
Copy Markdown
Collaborator

@Xe Xe commented Jan 14, 2026

Summary

  • Pass GITHUB_TOKEN to semantic-release step as environment variable

Details

The release.yaml workflow was failing with ENOGHTOKEN error because semantic-release's GitHub plugin couldn't access the repository token. The workflow had contents: write permission but the token wasn't explicitly passed as an environment variable.

Test plan

  • Code compiles with go build ./...
  • Code formatted with npm run format
  • Manual testing (will be verified when CI runs)

Fixes ENOGHTOKEN error where semantic-release's GitHub plugin could
not access the repository token. The workflow had contents:write
permission but the token wasn't explicitly passed as an environment
variable.

Assisted-by: GLM 4.7 via Claude Code
Signed-off-by: Xe Iaso <xe@tigrisdata.com>
Copilot AI review requested due to automatic review settings January 14, 2026 21:37
Copy link
Copy Markdown
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 fixes a workflow failure by passing the GITHUB_TOKEN environment variable to the semantic-release step, which is required by the @semantic-release/github plugin to interact with the GitHub API.

Changes:

  • Added GITHUB_TOKEN environment variable to the release step in the GitHub Actions workflow

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

Comment thread .github/workflows/release.yaml Outdated
The actions/setup-node step was duplicated - node-version "latest"
was already set up on line 18. Removed the redundant step on line 26.

Assisted-by: GLM 4.7 via Claude Code
Signed-off-by: Xe Iaso <xe@tigrisdata.com>
@Xe Xe merged commit 412e57d into main Jan 14, 2026
11 checks passed
@Xe
Copy link
Copy Markdown
Collaborator Author

Xe commented Jan 15, 2026

🎉 This PR is included in version 0.2.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

@Xe Xe added the released label Jan 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants