ci: use requeue instead of refresh for re-adding PRs to the queue

The current version of Mergify provides a `requeue` command in addition
to `refresh`. After a CI job failed, the PR needs to be re-added to the
queue, so the `requeue` command is more appropriate.

Signed-off-by: Niels de Vos <ndevos@redhat.com>
This commit is contained in:
Niels de Vos 2022-04-20 14:04:02 +02:00 committed by mergify[bot]
parent 0dfc15121c
commit ef1d589caa

View File

@ -181,8 +181,8 @@ func main() {
}
if failedTestFound {
// comment `@Mergifyio refresh` so mergifyio adds the pr back into the queue.
msg := "@Mergifyio refresh"
// comment `@Mergifyio requeue` so mergifyio adds the pr back into the queue.
msg := "@Mergifyio requeue"
comment := &github.IssueComment{
Body: github.String(msg),
}