projects
/
lemmy.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
57cb563
)
Attempt to fix CI building wrong commits (#3830)
author
dullbananas
<dull.bananas0@gmail.com>
Mon, 7 Aug 2023 10:40:50 +0000
(
03:40
-0700)
committer
GitHub
<noreply@github.com>
Mon, 7 Aug 2023 10:40:50 +0000
(06:40 -0400)
* Attempt to fix CI building wrong commits
* Update .woodpecker.yml
* Update .woodpecker.yml
.woodpecker.yml
patch
|
blob
|
history
diff --git
a/.woodpecker.yml
b/.woodpecker.yml
index a3c1f1194ab1b506de8acb9d022b420070a3c5b0..f4cee4f624c6104d9cc66441e1c5c30f826579f6 100644
(file)
--- a/
.woodpecker.yml
+++ b/
.woodpecker.yml
@@
-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