mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2025-02-04 18:21:06 +02:00
no longer need to limit Prior commit to those that have status Success or Failure
This commit is contained in:
parent
b94280c15c
commit
0106a5e21d
@ -185,7 +185,6 @@ FROM commits
|
|||||||
WHERE repo_id = ?
|
WHERE repo_id = ?
|
||||||
AND commit_branch = ?
|
AND commit_branch = ?
|
||||||
AND commit_id < ?
|
AND commit_id < ?
|
||||||
AND commit_status IN ('Success', 'Failure')
|
|
||||||
ORDER BY commit_id DESC
|
ORDER BY commit_id DESC
|
||||||
LIMIT 1
|
LIMIT 1
|
||||||
`
|
`
|
||||||
|
Loading…
x
Reference in New Issue
Block a user