diff --git a/.drone.star b/.drone.star index b90ce6c59..4239633b5 100644 --- a/.drone.star +++ b/.drone.star @@ -464,7 +464,7 @@ def changelog(ctx): 'clone', ], 'remote': 'https://github.com/%s' % (repo_slug), - 'branch': ctx.build.branch if ctx.build.event == 'pull_request' else 'master', + 'branch': ctx.build.source if ctx.build.event == 'pull_request' else 'master', 'path': '/drone/src', 'netrc_machine': 'github.com', 'netrc_username': {