Revert "Attempt to fix CI building wrong commits (#3830)"
authorFelix Ableitner <me@nutomic.com>
Mon, 7 Aug 2023 11:19:07 +0000 (13:19 +0200)
committerFelix Ableitner <me@nutomic.com>
Mon, 7 Aug 2023 11:19:07 +0000 (13:19 +0200)
This reverts commit 5e9930bdccb07b172b05dcda9eb742d01e52ac5c.

.woodpecker.yml

index f4cee4f624c6104d9cc66441e1c5c30f826579f6..a3c1f1194ab1b506de8acb9d022b420070a3c5b0 100644 (file)
@@ -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