Add more config options to clone plugin

This commit is contained in:
Thomas Boerger
2019-12-05 14:27:35 +01:00
parent afed22cfd6
commit 52639b83b6

View File

@@ -150,7 +150,9 @@ def changelog(ctx):
'actions': [
'clone',
],
'remote': 'https://github.com/%s' % (ctx.repo.slug),
'branch': ctx.build.branch if ctx.build.event == 'pull_request' else 'master',
'path': '/drone/src',
'netrc_machine': 'github.com',
'netrc_username': {
'from_secret': 'github_username',