From 0798ce74beec2342da4e45f73fd46084c42c8e0c Mon Sep 17 00:00:00 2001 From: Julien Palard Date: Fri, 14 Apr 2023 13:59:11 +0200 Subject: [PATCH] In case it's already here. Which happen when running on the branch. But when running from a PR the branch does not exists. --- .woodpecker.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.woodpecker.yml b/.woodpecker.yml index 8c96fd07..4ea2ed02 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -9,5 +9,5 @@ pipeline: - python3 -m pip install -r requirements.txt - BRANCH="$(grep ^BRANCH Makefile | awk '{print $3}')" - git fetch origin --no-tags +refs/heads/$BRANCH - - git branch $BRANCH origin/$BRANCH + - git branch $BRANCH origin/$BRANCH ||: - make verifs