Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

Runtime setup actions ignore newer pins in actions-lock.json

未关闭 适合新手
#72,156 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

难度
2/5
预计耗时
1-3 小时
新手友好度
83/100
Issue 类型
缺陷
描述清晰度
描述清楚
活跃度
活跃
技术栈
github-actions, go

调研方向

从 pkg/workflow/runtime_step_generator.go 入手,重点查看 generateSetupStep 及其 getActionPin 查找,然后将其与其他地方使用的缓存感知查找进行比较。使用 runtimes.python.version: "3.12" 和 actions-lock.json 中的 actions/[email protected] 条目复现;当编译使用缓存的 v7.1.0 SHA,而不是捆绑的 v7.0.0 SHA 时,即为完成。

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

描述

ai-inspected

Even though setup-python is pinned to v7.1.0 in the cache, the .lock.yml compile is choosing v.7.0.0.

  • Version: gh-aw v0.93.5

To repro, create a workflow with runtimes.python.version: "3.12" and a valid actions/[email protected] cache entry in actions-lock.json.

You'll see the compilation emits the bundled v7.0.0 SHA.

Expected: Runtime setup honors the newer cached pin, consistent with the cache-aware lookup.

Likely cause (per copilot's evaluation): generateSetupStep calls embedded-only getActionPin instead of the cache-aware helper.

主要语言
Go
星标
5.4k
派生
596
平均合并
4 小时 7 分钟
30 天内合并 PR
833

环境准备

在 Codespaces 中打开

在浏览器里用你自己的 GitHub 账号启动这个项目的开发容器。

  • 提供 Dockerfile 或 Docker Compose 文件
  • 没有 Pull Request 模板
  • 阅读贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

github/gh-aw 的其他 Issue

查看 github/gh-aw 的全部 Issue

相似的 Issue

更多 Go Issue

把新 issue 发到你的邮箱

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