Autoupdating pinned `gh-actions-lock`
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
调研方向
The issue discusses pinning the gh-actions-lock extension and mentions .pre-commit-config.yaml, CI, and Dependabot, but does not identify a code entry point or define a chosen solution. Start by reviewing the proposed pre-commit hook idea and the linked discussion in cli/cli#6118; done would require agreeing on an approach and specifying how the pinned version is maintained automatically.
由索引模型根据 Issue 内容生成。
描述
Any ideas if there's a way to keep gh-actions-lock extension pinned, but automated automatically?
Currently I guess I will just pin it in CI using gh extension install github/gh-actions-lock --pin v0.4.1 and will update it once I get notification locally when using gh. But gh sends notifications only when I use gh actions-lock, which I assume won't happen very often - main work on the actions.lock will be done by dependabot and command will be executed manually only when new use of some action will be introduced.
Also noticed that this repo itself had outdated pin, submitting a fix - https://github.com/github/gh-actions-lock/pull/265
Extensions currently don't have any manifests or lock files, so there's no general solution - https://github.com/cli/cli/issues/6118
Below is sort of an idea of a hack I came up with in the mentioned issue. Not ideal, since it may mean a fake .pre-commit-config.yaml just for this, but it is a solution (e.g. to use yq to read the pinned version in CI / locally during gh extension install + dependabot support).
12. Kind of a hack, but in theory if
gh-action-lockhad pre-commit hook, then it would be possible to use it as a manifest both locally and CI (even ifpre-commititself won't be used) and dependabot will help maintain it.
- 主要语言
- Go
- 星标
- 295
- 派生
- 21
- 平均合并
- 1 天 3 小时
- 30 天内合并 PR
- 64
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
github/gh-actions-lock 的其他 Issue
-
难度 3/5 1-2 天 新手友好度 58/100
github/gh-actions-lock#267 ·
维护者通常 1 天内回复
-
难度 4/5 3-5 天 新手友好度 30/100
github/gh-actions-lock#264 · 2 条评论 · 1 个 reaction ·
维护者通常 1 天内回复
-
难度 3/5 半天 新手友好度 42/100
github/gh-actions-lock#262 ·
维护者通常 1 天内回复
-
Dependabot drops an unchanged transitive dependency when bumping a composite action可能已有人在做 关联的 PR 仍在进行中或已合并。 未关闭
难度 4/5 3-5 天 新手友好度 30/100
github/gh-actions-lock#257 · 1 条评论 ·
维护者通常 1 天内回复
-
--migrate-local-actions rewrites action files in nested worktrees and submodules可能已有人在做 @aksestok 于 3 天前认领。 未关闭
难度 3/5 1-2 天 新手友好度 20/100
github/gh-actions-lock#253 ·
维护者通常 1 天内回复
查看 github/gh-actions-lock 的全部 Issue
相似的 Issue
-
needs-triage
难度 2/5 1-3 小时 新手友好度 72/100
维护者通常 1 天内回复
-
enhancement needs-triage
难度 2/5 1-3 小时 新手友好度 72/100
valkey-io/valkey-operator#610 ·
维护者通常 3 天内回复
-
难度 1/5 1 小时以内 新手友好度 85/100
-
WriterSetTimes: the UTIME_NOW check fails when the kernel uses its coarse clock可能已有人在做 @JakeChampion 今天认领。 未关闭
难度 2/5 1-3 小时 新手友好度 78/100
JakeChampion/lang#14224 ·
维护者通常 1 天内回复
-
agent-butler-finding bug
难度 1/5 1 小时以内 新手友好度 88/100
jordansmall/spindrift#6391 ·
维护者通常 1 天内回复