Describe the issue/error/question
I’m trying to clone a github repository, change some of the files and then stage and commit them and finally push them back to origin
What is the error message (if any)?
Turns out, Github removed the option to access a repo via username + password, therefore even cloning a repo with the git node fails
Please share the workflow
Share the output returned by the last node
Error: Cloning into '.'...
remote: Support for password authentication was removed on August 13, 2021. Please use a personal access token instead.
remote: Please see https://github.blog/2020-12-15-token-authentication-requirements-for-git-operations/ for more information.
fatal: Authentication failed for 'https://github.com/username/reponame/'
at Object.action (/usr/local/lib/node_modules/n8n/node_modules/simple-git/src/lib/plugins/error-detection.plugin.js:30:33)
at PluginStore.exec (/usr/local/lib/node_modules/n8n/node_modules/simple-git/src/lib/plugins/plugin-store.js:21:33)
at /usr/local/lib/node_modules/n8n/node_modules/simple-git/src/lib/runners/git-executor-chain.js:95:45
at new Promise (<anonymous>)
at GitExecutorChain.handleTaskData (/usr/local/lib/node_modules/n8n/node_modules/simple-git/src/lib/runners/git-executor-chain.js:93:16)
at GitExecutorChain.<anonymous> (/usr/local/lib/node_modules/n8n/node_modules/simple-git/src/lib/runners/git-executor-chain.js:77:46)
at Generator.next (<anonymous>)
at fulfilled (/usr/local/lib/node_modules/n8n/node_modules/simple-git/src/lib/runners/git-executor-chain.js:5:58)
at runMicrotasks (<anonymous>)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
Information on your n8n setup
- n8n version: 0.166.0
- Database you’re using (default: SQLite):
- Running n8n with the execution process [own(default), main]:
- Running n8n via [Docker, npm, n8n.cloud, desktop app]: cloud