diff options
author | Michael Barz <mbarz@owncloud.com> | 2020-01-22 17:59:44 +0300 |
---|---|---|
committer | Michael Barz <mbarz@owncloud.com> | 2020-01-22 18:27:12 +0300 |
commit | 9b0965c48a6bc6536c7ee1a675dfb9ff478aa2ee (patch) | |
tree | aa798caed13905bed0f5cd006743dced3fccb420 /.drone.star | |
parent | d555f35b4ed075a1545e903113ff8d4585965db8 (diff) |
Fix for forked repos
Diffstat (limited to '.drone.star')
-rw-r--r-- | .drone.star | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/.drone.star b/.drone.star index 45e9b9b7f..6542731d9 100644 --- a/.drone.star +++ b/.drone.star @@ -292,8 +292,6 @@ def build_client_docs(ctx): } def changelog(ctx, trigger = {}, depends_on = []): - pipelines = [] - result = { 'kind': 'pipeline', 'type': 'docker', @@ -310,7 +308,7 @@ def changelog(ctx, trigger = {}, depends_on = []): 'actions': [ 'clone', ], - 'remote': 'https://github.com/%s' % (ctx.repo.slug), + 'remote': 'https://github.com/%s' % (ctx.build.source_repo), 'branch': ctx.build.source if ctx.build.event == 'pull_request' else 'master', 'path': '/drone/src', 'netrc_machine': 'github.com', |