I'm trying to do a fullrelease from drone CI node with config like:
---
kind: pipeline
type: docker
name: default
steps:
# note zest does everything, including tagging!
- name: version-tag-changelog
image: python:3-bookworm
commands:
- git config --global user.email "zest.releaser@example.com"
- git config --global user.name "Zest Releaser"
- pip install zest.releaser
- fullrelease --no-input
when:
branch:
- master
This will result in changelog change, and push to git fails with:
INFO: OK to commit this
INFO: Auto-responding 'yes'.
INFO: [master 734674d] Back to development: 0.6.5
2 files changed, 7 insertions(+), 1 deletion(-)
INFO: OK to push commits to the server?
INFO: Auto-responding 'yes'.
ERROR: exit code 128.
fatal: could not read Username for 'https://github.com': terminal prompts disabled
as expected.
Is there a way to provide git auth in a declarative way?
I'm trying to do a fullrelease from drone CI node with config like:
This will result in changelog change, and push to git fails with:
as expected.
Is there a way to provide git auth in a declarative way?