To https://github.com/BlueBaseJS/core.git
! [remote rejected] HEAD -> master (protected branch hook declined)
error: failed to push some refs to 'https://x-access-token:[secure]@github.com/BlueBaseJS/core.git'
at makeError (/__w/core/core/node_modules/execa/index.js:174:9)
at Promise.all.then.arr (/__w/core/core/node_modules/execa/index.js:278:16)
at process._tickCallback (internal/process/next_tick.js:68:7)
code: 1,
stdout: '',
stderr:
'remote: error: GH006: Protected branch update failed for refs/heads/master. \nremote: error: You\'re not authorized to push to this branch. Visit https://help.github.com/articles/about-protected-branches/ for more information. \nTo https://github.com/BlueBaseJS/core.git\n ! [remote rejected] HEAD -> master (protected branch hook declined)\nerror: failed to push some refs to \'https://x-access-token:[secure]@github.com/BlueBaseJS/core.git\'\n',
failed: true,
signal: null,
cmd:
'git push --tags https://x-access-token:[secure]@github.com/BlueBaseJS/core.git HEAD:master',
timedOut: false,
killed: false,
pluginName: '@semantic-release/git' }
What permissions and setting I need to enable for GitHub personal access token so it can work with release? Currently removing protection to make release pass
I'm running into this error when running semantic-release in GitHub Actions
Step
Releaserc
Package Versions
Error
What permissions and setting I need to enable for GitHub personal access token so it can work with release? Currently removing protection to make release pass