Skip to content

Conversation

@ethan-ozelius-contentful
Copy link
Contributor

@ethan-ozelius-contentful ethan-ozelius-contentful commented Nov 12, 2025

Summary

  1. Fix semantic-release, which is running into the following github token permissions error:
[6:15:04 PM] [semantic-release] › ✘  Failed step "fail" of plugin "@semantic-release/github"
[6:15:04 PM] [semantic-release] › ✘  ENOGHTOKEN No GitHub token specified.
A GitHub personal token (https://github.com/semantic-release/github/blob/master/README.md#github-authentication) must be created and set in the GH_TOKEN or GITHUB_TOKEN environment variable on your CI environment.

Please make sure to create a GitHub personal token (https://help.github.com/articles/creating-a-personal-access-token-for-the-command-line) and to set it in the GH_TOKEN or GITHUB_TOKEN environment variable on your CI environment. The token must allow to push to the repository contentful/contentful.js.

[6:15:04 PM] [semantic-release] › ✘  ENOGHTOKEN No GitHub token specified.
A GitHub personal token (https://github.com/semantic-release/github/blob/master/README.md#github-authentication) must be created and set in the GH_TOKEN or GITHUB_TOKEN environment variable on your CI environment.

Please make sure to create a GitHub personal token (https://help.github.com/articles/creating-a-personal-access-token-for-the-command-line) and to set it in the GH_TOKEN or GITHUB_TOKEN environment variable on your CI environment. The token must allow to push to the repository contentful/contentful.js.

Resolution is to retrieve the github token, using vault secret and then pass that as an env var to the npm run semantic-release step.

  1. Add github tags/releases that will be authored by Contentful automation bot.

  2. remove unccessary steps from release.yaml

  • Restore the build folders
  • name: Setup Chrome

@ethan-ozelius-contentful ethan-ozelius-contentful marked this pull request as ready for review November 13, 2025 00:03
@ethan-ozelius-contentful ethan-ozelius-contentful requested a review from a team as a code owner November 13, 2025 00:03
@ethan-ozelius-contentful ethan-ozelius-contentful merged commit 1e1a5c7 into master Nov 13, 2025
16 checks passed
@ethan-ozelius-contentful ethan-ozelius-contentful deleted the gx-505-fix-semantic-release branch November 13, 2025 20:24
@contentful-automation
Copy link
Contributor

🎉 This PR is included in version 11.8.13 🎉

The release is available on:

Your semantic-release bot 📦🚀

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.

3 participants