github-action-locks icon indicating copy to clipboard operation
github-action-locks copied to clipboard

Lock is released in post action even when the job didn't receive it.

Open lurbanski-equinix opened this issue 3 years ago • 0 comments

The situation.

  1. Three jobs with lock are run. The locks has the same name.
  2. The first job receive a lock. Second and third wait for the lock.
  3. User manually cancels the second job.
  4. In Second job the post action of create-lock releases the lock. Regardless the second job didn't receive that.
  5. The third job receives lock.
  6. The first and third job run further. Only one of them should be executed.

lurbanski-equinix avatar Sep 14 '22 10:09 lurbanski-equinix