Attempt to fix CI building wrong commits (#3830)

* Attempt to fix CI building wrong commits

* Update .woodpecker.yml

* Update .woodpecker.yml
pull/3829/head
dullbananas 10 months ago committed by GitHub
parent 57cb5637fc
commit 5e9930bdcc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -34,6 +34,10 @@ 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

Loading…
Cancel
Save