take care for action references that are submodules
还没有人认领这个 Issue。
评估
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 新手友好度
- 45/100
调研方向
使用引用的 ci.yml 示例跟踪相对 action 路径的解析,然后检查当路径指向 Git 子模块时 action.yml 的下载方式。当托管在子模块中的本地 action 能够被识别,并且其 action.yml 文件能够在不发生所报告的下载失败的情况下完成解析时,即视为完成。
由索引模型根据 Issue 内容生成。
描述
When we try to resolve the actions, and when there are relative paths, we try to resolve these paths into absolute paths and download the referenced action.
Sometimes the resolved absolute path is referencing a submodule. We aren't aware of that, and try to download the file which means nothing.
A real-world example:
This is part of ci.yml file for apache/airflow repository:
- name: Configure AWS credentials
uses: ./.github/actions/configure-aws-credentials
if: >
github.ref == 'refs/heads/main' && github.repository == 'apache/airflow' &&
github.event_name == 'push'
the configure-aws-credentials is actually a submodule, so we are unable to find the action.yml file beneath it (even though he exists in the submodule)
This is how raven logs looks like:
[+] Found 6 workflows for apache/airflow
[+] Fetching build-images.yml
[+] Fetching ci.yml
[-] Couldn't download the action.yml for the dependent action referenced by './.github/actions/configure-aws-credentials' (Maybe runs a local action that was checked out previously? Maybe the action is executed through a Dockerfile?)
[-] Couldn't download the action.yml for the dependent action referenced by './.github/actions/github-push-action' (Maybe runs a local action that was checked out previously? Maybe the action is executed through a Dockerfile?)
- 主要语言
- Python
- 星标
- 747
- 派生
- 46
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
CycodeLabs/raven 的其他 Issue
-
`library` folder not included in the source distribution可能已有人在做 关联的 PR 仍在进行中或已合并。 未关闭query-library
难度 2/5 1-3 小时 新手友好度 62/100
CycodeLabs/raven#183 · 2 条评论 ·
-
报错未关闭
难度 4/5 3-5 天 新手友好度 15/100
CycodeLabs/raven#199 ·
-
难度 4/5 3-5 天 新手友好度 35/100
CycodeLabs/raven#188 · 2 条评论 · 1 个 reaction ·
-
feature
难度 4/5 3-5 天 新手友好度 25/100
CycodeLabs/raven#119 · 6 条评论 ·
-
feature indexer
难度 3/5 1-2 天 新手友好度 45/100
CycodeLabs/raven#114 ·
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 72/100
维护者通常 1 天内回复
-
task
难度 2/5 1-3 小时 新手友好度 78/100
danparshall/claude_researcher#87 ·
维护者通常 1 天内回复
-
bug
难度 2/5 1-3 小时 新手友好度 85/100
datajoint/datajoint-python#1586 ·
维护者通常 1 天内回复
-
1D intercept of length 1 is accepted as `fix_params` in population GLM with more than 1 unit可能已有人在做 @dhvani7014 今天认领。 未关闭bug good first issue
难度 2/5 1-3 小时 新手友好度 72/100
flatironinstitute/nemos#642 · 1 条评论 ·
维护者通常 1 天内回复
-
难度 1/5 1 小时以内 新手友好度 78/100
uniswap-python/uniswap-python#487 ·