github / github/lock

Feature Request: Add Waiting Mechanism for Lock Release

未关闭
#61 1 条评论 1 个 reaction 已指派 0 人 在 GitHub 查看
enhancement
主要语言
JavaScript
星标
58
派生
11
PR 合并指标
30 天内没有已合并 PR

描述

Hi team! First, thank you for the great work on `github/lock`.

It would be very helpful if `github/lock` could have an option to wait until a lock is released, rather than having jobs fail immediately if the lock is active. This feature would allow workflows to pause and retry periodically until the lock is free, helping to prevent jobs from failing and automatically resuming execution once the resource is available.

The configuration could include a wait: true option or an adjustable waiting interval, so users can choose to wait for the lock or fail immediately if they prefer.

If this feature aligns with the roadmap or could be considered, I’d be glad to contribute by submitting a PR to implement it.

Thank you again for your hard work, and I hope this suggestion is helpful!

贡献指南

打开贡献指南

调研方向

No file, test, or entry point is named in the issue. Start by locating the action's lock acquisition and configuration entry points, then clarify the waiting and interval behavior; done means the chosen configuration works for waiting and immediate-failure modes and the behavior is covered by tests.

由索引模型根据 Issue 内容生成。

评估

技术栈
github-actions, javascript
领域
ci-cd, devops
Issue 类型
功能
难度
5/5
预计耗时
一周以上
活跃度
停滞
描述清晰度
需要澄清
新手友好度
30/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。