github: Failed step "success" of plugin "@semantic-release/github"

I ran npx semantic-release in my Github pipeline with my GITHUB_TOKEN.

Everything went well. A new tag is published, but there comes an error at the last step Failed step "success" of plugin "@semantic-release/github".

Logs show below:

image

Is there anyone who can help me~~ Thanks a lot~~

About this issue

  • Original URL
  • State: closed
  • Created 3 years ago
  • Reactions: 31
  • Comments: 16 (3 by maintainers)

Most upvoted comments

I was able to work around this error by suppressing the success commenting in .releaserc

        [
            "@semantic-release/github",
            {
                "successComment": false
            }
        ],

That way the problematic issue search query is skipped and the GH release can be created at least.

Posting to raise priority, we are facing the same issue

We’ve also started having this exact same issue in https://github.com/sasjs/cli.

https://github.com/sasjs/cli/runs/3660512107

Any help on this would be great, thank you! 🙏🏽

Seeing the same error.

Mystery solved, please update your lock files, make sure you don’t have node-fetch v2.6.3 in there https://github.com/node-fetch/node-fetch/pull/1301