* Attempt to fix CI building wrong commits
* Update .woodpecker.yml
* Update .woodpecker.yml
image: alpine:3
commands:
- apk add git
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
- git submodule init
- git submodule update