Whet trying to run semantic release I get this error:
[1:00:30 PM] [semantic-release] › ℹ Start step "publish" of plugin "@semantic-release/gitlab"
[1:00:30 PM] [semantic-release] [@semantic-release/gitlab] › ✘ An error occurred while making a request to the GitLab release API:
HTTPError: Response code 403 (Forbidden)
at Request.<anonymous> (file:///builds/git/metis-appfw/node_modules/got/dist/source/as-promise/index.js:92:42)
at Object.onceWrapper (node:events:634:26)
at Request.emit (node:events:531:35)
at Request._onResponseBase (file:///builds/git/metis-appfw/node_modules/got/dist/source/core/index.js:603:22)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async Request._onResponse (file:///builds/git/metis-appfw/node_modules/got/dist/source/core/index.js:643:13)
Release pushes commit upgrading version to repository but now version is not created in package registry.
I have set up GITLAB_TOKEN with these permissions: read_api, read_repository, write_repository, read_registry, write_registry. Our GITLAB_TOKEN is still valid (any we can see it is used to push)
It worked with same configuration few months ago when I last time make release with this project. I changed nothing since then.
Ok my mistake i should recheck docs. Now GITLAB_TOKEN requires full api access. Only read_api, read_repository, write_repository, read_registry, write_registry is no longer enough.
Whet trying to run semantic release I get this error:
Release pushes commit upgrading version to repository but now version is not created in package registry.
I have set up
GITLAB_TOKEN
with these permissions:read_api, read_repository, write_repository, read_registry, write_registry
. OurGITLAB_TOKEN
is still valid (any we can see it is used to push)It worked with same configuration few months ago when I last time make release with this project. I changed nothing since then.
Full log: