SyMPC icon indicating copy to clipboard operation
SyMPC copied to clipboard

Cancel previous jobs run if dev pushes again

Open gmuraru opened this issue 4 years ago • 4 comments

Description

For the moment when we open a PR we trigger a set of jobs to be run. If a new push is made, there would be 2 sets of jobs that are running in parallel, but we should cancel the previous one and leave only the new one to run.

Are you interested in working on this improvement yourself?

  • Yes, I am.

Additional Context

There might exist a GA that already does this. Syft might already have this functionality.

gmuraru avatar Mar 28 '21 10:03 gmuraru

Is this a good possible solution to this issue? image

radhikasethi2011 avatar Apr 12 '21 09:04 radhikasethi2011

Could you try to push 2 times in this job, you should have the first push canceled if this works

gmuraru avatar Apr 14 '21 20:04 gmuraru

@gmuraru , yes, it works. Just creating a PR on main!

radhikasethi2011 avatar Apr 16 '21 16:04 radhikasethi2011

Hello @gmuraru , is this issue still open? If so, I would like to pick it up

shubhank-saxena avatar Aug 10 '21 12:08 shubhank-saxena