Todd de Quincey
03/07/2024, 7:09 AMTodd de Quincey
03/07/2024, 7:13 AMTodd de Quincey
03/07/2024, 7:17 AMZach
03/07/2024, 3:34 PMconcurrency:
# Cancel in-progress runs on same branch
group: ${{ github.ref }}-push
cancel-in-progress: true
set in your workflow?Zach
03/07/2024, 3:35 PMcancel-in-progress: true
then if you push while the branch is already being built then GH actions will cancel the original buildTodd de Quincey
03/07/2024, 3:36 PMTodd de Quincey
03/07/2024, 3:36 PMTodd de Quincey
03/08/2024, 1:50 PMTodd de Quincey
03/08/2024, 1:55 PMZach
03/08/2024, 4:10 PMZach
03/08/2024, 4:10 PMcancel-in-progress: false
to avoid thatZach
03/08/2024, 4:12 PMTodd de Quincey
03/08/2024, 4:12 PMTodd de Quincey
03/08/2024, 4:13 PMZach
03/08/2024, 4:14 PMcancel-in-progress: true
is what causes our workflows to cancel with the Canceling because a higher priority request...
messageZach
03/08/2024, 4:15 PMHmmmm, nope. That’s not it. We already have this setseemed to indicate to me that you thought I was suggesting to set
cancel-in-progress: true
and that you already had it set, when what I meant was that having that set is what cancels in-progress builds and was in fact suggesting you turn that to false
Todd de Quincey
03/08/2024, 4:17 PMTodd de Quincey
03/08/2024, 4:18 PMTodd de Quincey
03/08/2024, 4:19 PMZach
03/08/2024, 4:21 PMZach
03/08/2024, 4:21 PMTodd de Quincey
03/08/2024, 4:25 PMZach
03/08/2024, 4:30 PMTodd de Quincey
07/10/2024, 3:40 PMclosed
from types. It was essentially a race condition between GH actions deploying against the branch deployment vs main. Hence why it was so intermittent
pull_request:
types: [opened, synchronize, reopened, closed]
Todd de Quincey
07/10/2024, 3:40 PM