Dinnerbone / mcstatus

A Python class for checking the status of an enabled Minecraft server
http://dinnerbone.com/minecraft/tools/status/
1.11k stars 146 forks source link

Cancel workflow if a new one is already running #218

Closed ItsDrike closed 2 years ago

ItsDrike commented 2 years ago

This is an optimization which automatically cancels older workflows which are in progress if there's a new one that's already running. This can happen if someone pushes before the first workflows even finished, in which case we don't need to finish the previous running workflows, as we only ever care about the last commit passing, not all commits.

ItsDrike commented 2 years ago

Once again, this should be on py-mine/mcstatus, not here, it being a fork is really annoying...