From afed22cfd6234488282474d458c8bc2ce37b1bbd Mon Sep 17 00:00:00 2001 From: Thomas Boerger Date: Thu, 5 Dec 2019 14:19:42 +0100 Subject: [PATCH] Fix changelog update --- .drone.star | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/.drone.star b/.drone.star index afaaf3fe1..c9808032a 100644 --- a/.drone.star +++ b/.drone.star @@ -138,7 +138,28 @@ def changelog(ctx): 'os': 'linux', 'arch': 'amd64', }, + 'clone': { + 'disable': True, + }, 'steps': [ + { + 'name': 'clone', + 'image': 'plugins/git-action:1', + 'pull': 'always', + 'settings': { + 'actions': [ + 'clone', + ], + 'branch': ctx.build.branch if ctx.build.event == 'pull_request' else 'master', + 'netrc_machine': 'github.com', + 'netrc_username': { + 'from_secret': 'github_username', + }, + 'netrc_password': { + 'from_secret': 'github_token', + }, + }, + }, { 'name': 'generate', 'image': 'webhippie/golang:1.13',