From fc037d9833afed68d943a04dd7012df92d96b166 Mon Sep 17 00:00:00 2001 From: teutat3s Date: Wed, 20 Oct 2021 07:52:46 +0000 Subject: [PATCH] drone: fix git fetch for main, too (#49) Reviewed-on: https://git.b12f.io/pub-solar/os/pulls/49 Co-authored-by: teutat3s Co-committed-by: teutat3s --- .drone.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.drone.yml b/.drone.yml index 2a2fcf9..6f18103 100644 --- a/.drone.yml +++ b/.drone.yml @@ -36,10 +36,10 @@ steps: GITEA_SSH_KEY: from_secret: gitea_ssh_key commands: + - git checkout origin/main - ./.drone/setup_ssh.sh - git remote set-url origin git@git.b12f.io:pub-solar/os - git fetch --all - - git checkout origin/main - ./.drone/upstream-branch.sh - name: "Open pull request for failed merge"