You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm configuring semantic-release in a repo, but I get the error. Plugin fails to load.
GITHUB_TOKEN is definitely passed, other plugins work correctly.
Error:
[4:00:32 PM] [semantic-release] › ✔ Loaded plugin "fail" from "@semantic-release/github"
...
...
2023-07-30T16:00:32.331Z semantic-release:get-git-auth-url Verifying ssh auth by attempting to push to [email protected]:SylvanasCry/schema-registry-ajv.git
2023-07-30T16:00:32.421Z semantic-release:git Error: Command failed with exit code 128: git push --dry-run --no-verify [email protected]:SylvanasCry/schema-registry-ajv.git HEAD:master
[email protected]: Permission denied (publickey).
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
at makeError (file:///home/runner/work/schema-registry-ajv/schema-registry-ajv/node_modules/semantic-release/node_modules/execa/lib/error.js:60:11)
release.yml
name: Releaseon:
push:
branches:
- masterpermissions:
contents: read # for checkoutjobs:
release:
name: Releaseruns-on: ubuntu-latestpermissions:
contents: write # to be able to publish a GitHub releaseissues: write # to be able to comment on released issuespull-requests: write # to be able to comment on released pull requestsid-token: write # to enable use of OIDC for npm provenancesteps:
# ...# ...# ...
- name: Releaseenv:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}NPM_TOKEN: ${{ secrets.NPM_TOKEN }}run: npm run semantic-release
I'm configuring semantic-release in a repo, but I get the error. Plugin fails to load.
GITHUB_TOKEN
is definitely passed, other plugins work correctly.Error:
release.yml
package.json
The text was updated successfully, but these errors were encountered: