From: Felix Ableitner <me@nutomic.com>
Date: Mon, 7 Aug 2023 11:19:07 +0000 (+0200)
Subject: Revert "Attempt to fix CI building wrong commits (#3830)"
X-Git-Url: http://these/git/%22%7Bauthor_url%7D/static/%7B%60https:/matrix.to?a=commitdiff_plain;h=bed9474cf05af9e6935365681a4761544115b58a;p=lemmy.git

Revert "Attempt to fix CI building wrong commits (#3830)"

This reverts commit 5e9930bdccb07b172b05dcda9eb742d01e52ac5c.
---

diff --git a/.woodpecker.yml b/.woodpecker.yml
index f4cee4f6..a3c1f119 100644
--- a/.woodpecker.yml
+++ b/.woodpecker.yml
@@ -34,10 +34,6 @@ pipeline:
     image: alpine:3
     commands:
       - apk add git
-      # Try to prevent the previous commit from being used
-      - sleep 10
-      - git fetch --no-tags --depth=1 --filter=tree:0 origin "+refs/pull/$CI_COMMIT_PULL_REQUEST/merge:"
-      - git checkout -qf FETCH_HEAD
       - git submodule init
       - git submodule update