-
Notifications
You must be signed in to change notification settings - Fork 2
Closed
Description
Situation
Although PR #22 successfully merged into the master branch, the pipeline in the master branch failed to release.
The GITHUB_TOKEN is outdated.
This means that there is not yet a new release.
Logs
[2:09:53 PM] [semantic-release] › ℹ Running semantic-release version 24.2.6
[2:09:53 PM] [semantic-release] › ✔ Loaded plugin "verifyConditions" from "@semantic-release/npm"
[2:09:53 PM] [semantic-release] › ✔ Loaded plugin "verifyConditions" from "@semantic-release/github"
[2:09:53 PM] [semantic-release] › ✔ Loaded plugin "analyzeCommits" from "simple-commit-message"
[2:09:53 PM] [semantic-release] › ✔ Loaded plugin "generateNotes" from "@semantic-release/release-notes-generator"
[2:09:53 PM] [semantic-release] › ✔ Loaded plugin "prepare" from "@semantic-release/npm"
[2:09:53 PM] [semantic-release] › ✔ Loaded plugin "publish" from "@semantic-release/npm"
[2:09:53 PM] [semantic-release] › ✔ Loaded plugin "publish" from "@semantic-release/github"
[2:09:53 PM] [semantic-release] › ✔ Loaded plugin "addChannel" from "@semantic-release/npm"
[2:09:53 PM] [semantic-release] › ✔ Loaded plugin "addChannel" from "@semantic-release/github"
[2:09:53 PM] [semantic-release] › ✔ Loaded plugin "success" from "@semantic-release/github"
[2:09:53 PM] [semantic-release] › ✔ Loaded plugin "fail" from "@semantic-release/github"
[2:09:54 PM] [semantic-release] › ✔ Run automated release from branch master on repository https://github.com/cypress-io/get-windows-proxy.git
[2:09:54 PM] [semantic-release] › ✘ The command "git push --dry-run --no-verify https://[secure]@github.com/cypress-io/get-windows-proxy.git HEAD:master" failed with the error message remote: Support for password authentication was removed on August 13, 2021.
remote: Please see https://docs.github.com/get-started/getting-started-with-git/about-remote-repositories#cloning-with-https-urls for information on currently recommended modes of authentication.
fatal: Authentication failed for 'https://github.com/cypress-io/get-windows-proxy.git/'.
[2:09:54 PM] [semantic-release] › ℹ Start step "fail" of plugin "@semantic-release/github"
[2:09:54 PM] [semantic-release] [@semantic-release/github] › ℹ Verify GitHub authentication
[2:09:54 PM] [semantic-release] › ✘ Failed step "fail" of plugin "@semantic-release/github"
[2:09:54 PM] [semantic-release] › ✘ EINVALIDGHTOKEN Invalid GitHub token.
The GitHub token (https://github.com/semantic-release/github/blob/master/README.md#github-authentication) configured in the GH_TOKEN or GITHUB_TOKEN environment variable must be a valid personal token (https://help.github.com/articles/creating-a-personal-access-token-for-the-command-line) allowing to push to the repository cypress-io/get-windows-proxy.
Please make sure to set the GH_TOKEN or GITHUB_TOKEN environment variable in your CI with the exact value of the GitHub personal token.
[2:09:54 PM] [semantic-release] › ✘ EGITNOPERMISSION Cannot push to the Git repository.
semantic-release cannot push the version tag to the branch master on the remote Git repository with URL https://[secure]@github.com/cypress-io/get-windows-proxy.git.
This can be caused by:
* a misconfiguration of the [repositoryUrl](https://github.com/semantic-release/semantic-release/blob/master/docs/usage/configuration.md#repositoryurl) option
* the repository being unavailable
* or missing push permission for the user configured via the [Git credentials on your CI environment](https://github.com/semantic-release/semantic-release/blob/master/docs/usage/ci-configuration.md#authentication)
SemanticReleaseError: Cannot push to the Git repository.
at default (file:///home/circleci/project/node_modules/semantic-release/lib/get-error.js:6:10)
at run (file:///home/circleci/project/node_modules/semantic-release/index.js:101:11)
at async Module.default (file:///home/circleci/project/node_modules/semantic-release/index.js:278:22)
at async default (file:///home/circleci/project/node_modules/semantic-release/cli.js:55:5) {
code: 'EGITNOPERMISSION',
details: '**semantic-release** cannot push the version tag to the branch `master` on the remote Git repository with URL `https://[secure]@github.com/cypress-io/get-windows-proxy.git`.\n' +
'\n' +
'This can be caused by:\n' +
' - a misconfiguration of the [repositoryUrl](https://github.com/semantic-release/semantic-release/blob/master/docs/usage/configuration.md#repositoryurl) option\n' +
' - the repository being unavailable\n' +
' - or missing push permission for the user configured via the [Git credentials on your CI environment](https://github.com/semantic-release/semantic-release/blob/master/docs/usage/ci-configuration.md#authentication)',
semanticRelease: true
}
Exited with code exit status 1
Metadata
Metadata
Assignees
Labels
No labels