github-action-locks
github-action-locks copied to clipboard
Lock is released in post action even when the job didn't receive it.
The situation.
- Three jobs with lock are run. The locks has the same name.
- The first job receive a lock. Second and third wait for the lock.
- User manually cancels the second job.
- In Second job the post action of create-lock releases the lock. Regardless the second job didn't receive that.
- The third job receives lock.
- The first and third job run further. Only one of them should be executed.